	format	MS COFF
	extrn	___bb_blitz_blitz
	extrn	___bb_math_math
	extrn	_bbACos
	extrn	_bbArrayNew1D
	extrn	_bbArraySlice
	extrn	_bbEmptyArray
	extrn	_bbEmptyString
	extrn	_bbFloatAbs
	extrn	_bbFloatMod
	extrn	_bbFloatToInt
	extrn	_bbFloor
	extrn	_bbHandleToObject
	extrn	_bbMemCopy
	extrn	_bbMilliSecs
	extrn	_bbNullObject
	extrn	_bbObjectClass
	extrn	_bbObjectCompare
	extrn	_bbObjectCtor
	extrn	_bbObjectDowncast
	extrn	_bbObjectDtor
	extrn	_bbObjectFree
	extrn	_bbObjectNew
	extrn	_bbObjectRegisterType
	extrn	_bbObjectReserved
	extrn	_bbObjectSendMessage
	extrn	_bbObjectToString
	extrn	_bbSin
	extrn	_bbSqr
	extrn	_bbStringClass
	extrn	_bbStringCompare
	extrn	_bbStringConcat
	extrn	_bbStringFromFloat
	extrn	_bbStringFromInt
	extrn	_bbStringToInt
	extrn	_brl_blitz_DebugLog
	public	___bb_cal3d_cal3d
	public	__c3d_cal3d_CalAbstractMixer_New
	public	__c3d_cal3d_CalAbstractMixer_isDefaultMixer
	public	__c3d_cal3d_CalAbstractMixer_updateAnimation
	public	__c3d_cal3d_CalAbstractMixer_updateSkeleton
	public	__c3d_cal3d_CalAnimationAction_BuildFromCore
	public	__c3d_cal3d_CalAnimationAction_New
	public	__c3d_cal3d_CalAnimationAction_execute
	public	__c3d_cal3d_CalAnimationAction_update
	public	__c3d_cal3d_CalAnimationCallback_AnimationComplete
	public	__c3d_cal3d_CalAnimationCallback_AnimationUpdate
	public	__c3d_cal3d_CalAnimationCallback_New
	public	__c3d_cal3d_CalAnimationCycle_BuildFromCore
	public	__c3d_cal3d_CalAnimationCycle_New
	public	__c3d_cal3d_CalAnimationCycle_blend
	public	__c3d_cal3d_CalAnimationCycle_setAsync
	public	__c3d_cal3d_CalAnimationCycle_update
	public	__c3d_cal3d_CalAnimationState_New
	public	__c3d_cal3d_CalAnimationType_New
	public	__c3d_cal3d_CalAnimation_FromCore
	public	__c3d_cal3d_CalAnimation_New
	public	__c3d_cal3d_CalAnimation_checkCallbacks
	public	__c3d_cal3d_CalAnimation_completeCallbacks
	public	__c3d_cal3d_CalAnimation_getCoreAnimation
	public	__c3d_cal3d_CalAnimation_getState
	public	__c3d_cal3d_CalAnimation_getTime
	public	__c3d_cal3d_CalAnimation_getTimeFactor
	public	__c3d_cal3d_CalAnimation_getType
	public	__c3d_cal3d_CalAnimation_getWeight
	public	__c3d_cal3d_CalAnimation_setState
	public	__c3d_cal3d_CalAnimation_setTime
	public	__c3d_cal3d_CalAnimation_setTimeFactor
	public	__c3d_cal3d_CalAnimation_setType
	public	__c3d_cal3d_CalAnimation_setWeight
	public	__c3d_cal3d_CalBlendVertex_New
	public	__c3d_cal3d_CalBone_FromCore
	public	__c3d_cal3d_CalBone_GetRotation
	public	__c3d_cal3d_CalBone_New
	public	__c3d_cal3d_CalBone_SetRotation
	public	__c3d_cal3d_CalBone_blendState
	public	__c3d_cal3d_CalBone_calculateBoundingBox
	public	__c3d_cal3d_CalBone_calculateState
	public	__c3d_cal3d_CalBone_clearState
	public	__c3d_cal3d_CalBone_getBoundingBox
	public	__c3d_cal3d_CalBone_getCoreBone
	public	__c3d_cal3d_CalBone_getRotationAbsolute
	public	__c3d_cal3d_CalBone_getRotationBoneSpace
	public	__c3d_cal3d_CalBone_getTransformMatrix
	public	__c3d_cal3d_CalBone_getTranslation
	public	__c3d_cal3d_CalBone_getTranslationAbsolute
	public	__c3d_cal3d_CalBone_getTranslationBoneSpace
	public	__c3d_cal3d_CalBone_lockState
	public	__c3d_cal3d_CalBone_setCoreState
	public	__c3d_cal3d_CalBone_setCoreStateRecursive
	public	__c3d_cal3d_CalBone_setSkeleton
	public	__c3d_cal3d_CalBone_setTranslation
	public	__c3d_cal3d_CalBoundingBox_New
	public	__c3d_cal3d_CalBoundingBox_computePoints
	public	__c3d_cal3d_CalCallbackRecord_FromCallback
	public	__c3d_cal3d_CalCallbackRecord_New
	public	__c3d_cal3d_CalColor_FromColor
	public	__c3d_cal3d_CalColor_FromValues
	public	__c3d_cal3d_CalColor_New
	public	__c3d_cal3d_CalCoreAnimatedMorph_New
	public	__c3d_cal3d_CalCoreAnimatedMorph_addCoreTrack
	public	__c3d_cal3d_CalCoreAnimatedMorph_getCoreTrack
	public	__c3d_cal3d_CalCoreAnimatedMorph_getDuration
	public	__c3d_cal3d_CalCoreAnimatedMorph_getListCoreTrack
	public	__c3d_cal3d_CalCoreAnimatedMorph_removeZeroScaleTracks
	public	__c3d_cal3d_CalCoreAnimatedMorph_scale
	public	__c3d_cal3d_CalCoreAnimatedMorph_setDuration
	public	__c3d_cal3d_CalCoreAnimation_New
	public	__c3d_cal3d_CalCoreAnimation_addCoreTrack
	public	__c3d_cal3d_CalCoreAnimation_getCallbackList
	public	__c3d_cal3d_CalCoreAnimation_getCoreTrack
	public	__c3d_cal3d_CalCoreAnimation_getDuration
	public	__c3d_cal3d_CalCoreAnimation_getFilename
	public	__c3d_cal3d_CalCoreAnimation_getListCoreTrack
	public	__c3d_cal3d_CalCoreAnimation_getName
	public	__c3d_cal3d_CalCoreAnimation_getTotalNumberOfKeyframes
	public	__c3d_cal3d_CalCoreAnimation_getTrackCount
	public	__c3d_cal3d_CalCoreAnimation_registerCallback
	public	__c3d_cal3d_CalCoreAnimation_removeCallback
	public	__c3d_cal3d_CalCoreAnimation_scale
	public	__c3d_cal3d_CalCoreAnimation_setDuration
	public	__c3d_cal3d_CalCoreAnimation_setFilename
	public	__c3d_cal3d_CalCoreAnimation_setName
	public	__c3d_cal3d_CalCoreBone_Create
	public	__c3d_cal3d_CalCoreBone_GetRotation
	public	__c3d_cal3d_CalCoreBone_New
	public	__c3d_cal3d_CalCoreBone_SetRotation
	public	__c3d_cal3d_CalCoreBone_addChildId
	public	__c3d_cal3d_CalCoreBone_calculateBoundingBox
	public	__c3d_cal3d_CalCoreBone_calculateState
	public	__c3d_cal3d_CalCoreBone_getBoundingBox
	public	__c3d_cal3d_CalCoreBone_getBoundingData
	public	__c3d_cal3d_CalCoreBone_getCoreSkeleton
	public	__c3d_cal3d_CalCoreBone_getListChildId
	public	__c3d_cal3d_CalCoreBone_getName
	public	__c3d_cal3d_CalCoreBone_getParentId
	public	__c3d_cal3d_CalCoreBone_getRotationAbsolute
	public	__c3d_cal3d_CalCoreBone_getRotationBoneSpace
	public	__c3d_cal3d_CalCoreBone_getTranslation
	public	__c3d_cal3d_CalCoreBone_getTranslationAbsolute
	public	__c3d_cal3d_CalCoreBone_getTranslationBoneSpace
	public	__c3d_cal3d_CalCoreBone_getUserData
	public	__c3d_cal3d_CalCoreBone_isBoundingBoxPrecomputed
	public	__c3d_cal3d_CalCoreBone_scale
	public	__c3d_cal3d_CalCoreBone_setCoreSkeleton
	public	__c3d_cal3d_CalCoreBone_setParentId
	public	__c3d_cal3d_CalCoreBone_setRotationBoneSpace
	public	__c3d_cal3d_CalCoreBone_setTranslation
	public	__c3d_cal3d_CalCoreBone_setTranslationBoneSpace
	public	__c3d_cal3d_CalCoreBone_setUserData
	public	__c3d_cal3d_CalCoreKeyframe_Create
	public	__c3d_cal3d_CalCoreKeyframe_FromData
	public	__c3d_cal3d_CalCoreKeyframe_GetRotation
	public	__c3d_cal3d_CalCoreKeyframe_New
	public	__c3d_cal3d_CalCoreKeyframe_SetRotation
	public	__c3d_cal3d_CalCoreKeyframe_destroy
	public	__c3d_cal3d_CalCoreKeyframe_getTime
	public	__c3d_cal3d_CalCoreKeyframe_getTranslation
	public	__c3d_cal3d_CalCoreKeyframe_setTime
	public	__c3d_cal3d_CalCoreKeyframe_setTranslation
	public	__c3d_cal3d_CalCoreMaterial_New
	public	__c3d_cal3d_CalCoreMaterial_getAmbientColor
	public	__c3d_cal3d_CalCoreMaterial_getDiffuseColor
	public	__c3d_cal3d_CalCoreMaterial_getFilename
	public	__c3d_cal3d_CalCoreMaterial_getMapCount
	public	__c3d_cal3d_CalCoreMaterial_getMapFilename
	public	__c3d_cal3d_CalCoreMaterial_getMapUserData
	public	__c3d_cal3d_CalCoreMaterial_getName
	public	__c3d_cal3d_CalCoreMaterial_getShininess
	public	__c3d_cal3d_CalCoreMaterial_getSpecularColor
	public	__c3d_cal3d_CalCoreMaterial_getUserData
	public	__c3d_cal3d_CalCoreMaterial_getVectorMap
	public	__c3d_cal3d_CalCoreMaterial_reserve
	public	__c3d_cal3d_CalCoreMaterial_setAmbientColor
	public	__c3d_cal3d_CalCoreMaterial_setDiffuseColor
	public	__c3d_cal3d_CalCoreMaterial_setFilename
	public	__c3d_cal3d_CalCoreMaterial_setMap
	public	__c3d_cal3d_CalCoreMaterial_setMapUserData
	public	__c3d_cal3d_CalCoreMaterial_setName
	public	__c3d_cal3d_CalCoreMaterial_setShininess
	public	__c3d_cal3d_CalCoreMaterial_setSpecularColor
	public	__c3d_cal3d_CalCoreMaterial_setUserData
	public	__c3d_cal3d_CalCoreMesh_New
	public	__c3d_cal3d_CalCoreMesh_addAsMorphTarget
	public	__c3d_cal3d_CalCoreMesh_addCoreSubmesh
	public	__c3d_cal3d_CalCoreMesh_getCoreSubmesh
	public	__c3d_cal3d_CalCoreMesh_getCoreSubmeshCount
	public	__c3d_cal3d_CalCoreMesh_getFilename
	public	__c3d_cal3d_CalCoreMesh_getName
	public	__c3d_cal3d_CalCoreMesh_getVectorCoreSubmesh
	public	__c3d_cal3d_CalCoreMesh_scale
	public	__c3d_cal3d_CalCoreMesh_setFilename
	public	__c3d_cal3d_CalCoreMesh_setName
	public	__c3d_cal3d_CalCoreModel_New
	public	__c3d_cal3d_CalCoreModel_addAnimationName
	public	__c3d_cal3d_CalCoreModel_addBoneName
	public	__c3d_cal3d_CalCoreModel_addCoreAnimatedMorph
	public	__c3d_cal3d_CalCoreModel_addCoreAnimation
	public	__c3d_cal3d_CalCoreModel_addCoreMaterial
	public	__c3d_cal3d_CalCoreModel_addCoreMesh
	public	__c3d_cal3d_CalCoreModel_addCoreMorphAnimation
	public	__c3d_cal3d_CalCoreModel_addMaterialName
	public	__c3d_cal3d_CalCoreModel_addMeshName
	public	__c3d_cal3d_CalCoreModel_createCoreMaterialThread
	public	__c3d_cal3d_CalCoreModel_getBoneId
	public	__c3d_cal3d_CalCoreModel_getCoreAnimatedMorph
	public	__c3d_cal3d_CalCoreModel_getCoreAnimation
	public	__c3d_cal3d_CalCoreModel_getCoreAnimationCount
	public	__c3d_cal3d_CalCoreModel_getCoreAnimationId
	public	__c3d_cal3d_CalCoreModel_getCoreMaterial
	public	__c3d_cal3d_CalCoreModel_getCoreMaterialCount
	public	__c3d_cal3d_CalCoreModel_getCoreMaterialId
	public	__c3d_cal3d_CalCoreModel_getCoreMaterialIdbyID
	public	__c3d_cal3d_CalCoreModel_getCoreMesh
	public	__c3d_cal3d_CalCoreModel_getCoreMeshCount
	public	__c3d_cal3d_CalCoreModel_getCoreMeshId
	public	__c3d_cal3d_CalCoreModel_getCoreMorphAnimation
	public	__c3d_cal3d_CalCoreModel_getCoreMorphAnimationCount
	public	__c3d_cal3d_CalCoreModel_getCoreSkeleton
	public	__c3d_cal3d_CalCoreModel_getUserData
	public	__c3d_cal3d_CalCoreModel_loadCoreAnimation
	public	__c3d_cal3d_CalCoreModel_loadCoreMaterial
	public	__c3d_cal3d_CalCoreModel_loadCoreMesh
	public	__c3d_cal3d_CalCoreModel_loadCoreSkeleton
	public	__c3d_cal3d_CalCoreModel_makemodel
	public	__c3d_cal3d_CalCoreModel_removeCoreAnimatedMorph
	public	__c3d_cal3d_CalCoreModel_saveCoreAnimation
	public	__c3d_cal3d_CalCoreModel_saveCoreMaterial
	public	__c3d_cal3d_CalCoreModel_saveCoreMesh
	public	__c3d_cal3d_CalCoreModel_saveCoreSkeleton
	public	__c3d_cal3d_CalCoreModel_scale
	public	__c3d_cal3d_CalCoreModel_setCoreMaterialId
	public	__c3d_cal3d_CalCoreModel_setCoreSkeleton
	public	__c3d_cal3d_CalCoreModel_setUserData
	public	__c3d_cal3d_CalCoreModel_unloadCoreAnimation
	public	__c3d_cal3d_CalCoreModel_unloadCoreAnimationbyID
	public	__c3d_cal3d_CalCoreModel_unloadCoreMaterial
	public	__c3d_cal3d_CalCoreModel_unloadCoreMaterialbyID
	public	__c3d_cal3d_CalCoreModel_unloadCoreMesh
	public	__c3d_cal3d_CalCoreModel_unloadCoreMeshbyID
	public	__c3d_cal3d_CalCoreMorphAnimation_New
	public	__c3d_cal3d_CalCoreMorphAnimation_addMorphTarget
	public	__c3d_cal3d_CalCoreMorphAnimation_getVectorCoreMeshID
	public	__c3d_cal3d_CalCoreMorphAnimation_getVectorMorphTargetID
	public	__c3d_cal3d_CalCoreMorphKeyframe_New
	public	__c3d_cal3d_CalCoreMorphKeyframe_getTime
	public	__c3d_cal3d_CalCoreMorphKeyframe_getWeight
	public	__c3d_cal3d_CalCoreMorphKeyframe_setTime
	public	__c3d_cal3d_CalCoreMorphKeyframe_setWeight
	public	__c3d_cal3d_CalCoreMorphTrack_Build
	public	__c3d_cal3d_CalCoreMorphTrack_New
	public	__c3d_cal3d_CalCoreMorphTrack_addCoreMorphKeyframe
	public	__c3d_cal3d_CalCoreMorphTrack_getCoreMorphKeyframe
	public	__c3d_cal3d_CalCoreMorphTrack_getCoreMorphKeyframeCount
	public	__c3d_cal3d_CalCoreMorphTrack_getMorphName
	public	__c3d_cal3d_CalCoreMorphTrack_getState
	public	__c3d_cal3d_CalCoreMorphTrack_getUpperBound
	public	__c3d_cal3d_CalCoreMorphTrack_getVectorCoreMorphKeyframes
	public	__c3d_cal3d_CalCoreMorphTrack_reserve
	public	__c3d_cal3d_CalCoreMorphTrack_scale
	public	__c3d_cal3d_CalCoreMorphTrack_setMorphName
	public	__c3d_cal3d_CalCoreSkeleton_New
	public	__c3d_cal3d_CalCoreSkeleton_addCoreBone
	public	__c3d_cal3d_CalCoreSkeleton_calculateBoundingBoxes
	public	__c3d_cal3d_CalCoreSkeleton_calculateState
	public	__c3d_cal3d_CalCoreSkeleton_getCoreBone
	public	__c3d_cal3d_CalCoreSkeleton_getCoreBoneId
	public	__c3d_cal3d_CalCoreSkeleton_getCoreBonebyID
	public	__c3d_cal3d_CalCoreSkeleton_getVectorCoreBone
	public	__c3d_cal3d_CalCoreSkeleton_getVectorRootCoreBoneId
	public	__c3d_cal3d_CalCoreSkeleton_mapCoreBoneName
	public	__c3d_cal3d_CalCoreSkeleton_scale
	public	__c3d_cal3d_CalCoreSubMorphTarget_Create
	public	__c3d_cal3d_CalCoreSubMorphTarget_New
	public	__c3d_cal3d_CalCoreSubMorphTarget_getBlendVertexCount
	public	__c3d_cal3d_CalCoreSubMorphTarget_getVectorBlendVertex
	public	__c3d_cal3d_CalCoreSubMorphTarget_reserve
	public	__c3d_cal3d_CalCoreSubMorphTarget_setBlendVertex
	public	__c3d_cal3d_CalCoreSubmesh_New
	public	__c3d_cal3d_CalCoreSubmesh_UpdateTangentVector
	public	__c3d_cal3d_CalCoreSubmesh_addCoreSubMorphTarget
	public	__c3d_cal3d_CalCoreSubmesh_enableTangents
	public	__c3d_cal3d_CalCoreSubmesh_getCoreMaterialThreadId
	public	__c3d_cal3d_CalCoreSubmesh_getCoreSubMorphTarget
	public	__c3d_cal3d_CalCoreSubmesh_getCoreSubMorphTargetCount
	public	__c3d_cal3d_CalCoreSubmesh_getFaceCount
	public	__c3d_cal3d_CalCoreSubmesh_getLodCount
	public	__c3d_cal3d_CalCoreSubmesh_getSpringCount
	public	__c3d_cal3d_CalCoreSubmesh_getVectorCoreSubMorphTarget
	public	__c3d_cal3d_CalCoreSubmesh_getVectorFace
	public	__c3d_cal3d_CalCoreSubmesh_getVectorPhysicalProperty
	public	__c3d_cal3d_CalCoreSubmesh_getVectorSpring
	public	__c3d_cal3d_CalCoreSubmesh_getVectorVectorTangentSpace
	public	__c3d_cal3d_CalCoreSubmesh_getVectorVectorTextureCoordinate
	public	__c3d_cal3d_CalCoreSubmesh_getVectorVertex
	public	__c3d_cal3d_CalCoreSubmesh_getVertexCount
	public	__c3d_cal3d_CalCoreSubmesh_isTangentsEnabled
	public	__c3d_cal3d_CalCoreSubmesh_reserve
	public	__c3d_cal3d_CalCoreSubmesh_scale
	public	__c3d_cal3d_CalCoreSubmesh_setCoreMaterialThreadId
	public	__c3d_cal3d_CalCoreSubmesh_setFace
	public	__c3d_cal3d_CalCoreSubmesh_setLodCount
	public	__c3d_cal3d_CalCoreSubmesh_setPhysicalProperty
	public	__c3d_cal3d_CalCoreSubmesh_setSpring
	public	__c3d_cal3d_CalCoreSubmesh_setTangentSpace
	public	__c3d_cal3d_CalCoreSubmesh_setTextureCoordinate
	public	__c3d_cal3d_CalCoreSubmesh_setVertex
	public	__c3d_cal3d_CalCoreTrack_Create
	public	__c3d_cal3d_CalCoreTrack_New
	public	__c3d_cal3d_CalCoreTrack_addCoreKeyframe
	public	__c3d_cal3d_CalCoreTrack_destroy
	public	__c3d_cal3d_CalCoreTrack_getCoreBoneId
	public	__c3d_cal3d_CalCoreTrack_getCoreKeyframe
	public	__c3d_cal3d_CalCoreTrack_getCoreKeyframeCount
	public	__c3d_cal3d_CalCoreTrack_getState
	public	__c3d_cal3d_CalCoreTrack_getUpperBound
	public	__c3d_cal3d_CalCoreTrack_removeCoreKeyFrame
	public	__c3d_cal3d_CalCoreTrack_scale
	public	__c3d_cal3d_CalCoreTrack_setCoreBoneId
	public	__c3d_cal3d_CalFace_FromArr
	public	__c3d_cal3d_CalFace_FromCoords
	public	__c3d_cal3d_CalFace_FromFace
	public	__c3d_cal3d_CalFace_New
	public	__c3d_cal3d_CalInfluence_FromCoords
	public	__c3d_cal3d_CalInfluence_New
	public	__c3d_cal3d_CalMap_New
	public	__c3d_cal3d_CalMatrix_FromMat
	public	__c3d_cal3d_CalMatrix_New
	public	__c3d_cal3d_CalMatrix_assign
	public	__c3d_cal3d_CalMatrix_blend
	public	__c3d_cal3d_CalMatrix_det
	public	__c3d_cal3d_CalMatrix_multMatrixLocal
	public	__c3d_cal3d_CalMatrix_multScalarLocal
	public	__c3d_cal3d_CalMesh_FromCore
	public	__c3d_cal3d_CalMesh_New
	public	__c3d_cal3d_CalMesh_disableInternalData
	public	__c3d_cal3d_CalMesh_getCoreMesh
	public	__c3d_cal3d_CalMesh_getSubmesh
	public	__c3d_cal3d_CalMesh_getSubmeshCount
	public	__c3d_cal3d_CalMesh_getVectorSubmesh
	public	__c3d_cal3d_CalMesh_setLodLevel
	public	__c3d_cal3d_CalMesh_setMaterialSet
	public	__c3d_cal3d_CalMesh_setModel
	public	__c3d_cal3d_CalMinMax_New
	public	__c3d_cal3d_CalMixer_FromModel
	public	__c3d_cal3d_CalMixer_New
	public	__c3d_cal3d_CalMixer_blendCycle
	public	__c3d_cal3d_CalMixer_clearCycle
	public	__c3d_cal3d_CalMixer_executeAction
	public	__c3d_cal3d_CalMixer_getAnimationActionList
	public	__c3d_cal3d_CalMixer_getAnimationCycle
	public	__c3d_cal3d_CalMixer_getAnimationDuration
	public	__c3d_cal3d_CalMixer_getAnimationTime
	public	__c3d_cal3d_CalMixer_getAnimationVector
	public	__c3d_cal3d_CalMixer_getCalModel
	public	__c3d_cal3d_CalMixer_getTimeFactor
	public	__c3d_cal3d_CalMixer_isDefaultMixer
	public	__c3d_cal3d_CalMixer_removeAction
	public	__c3d_cal3d_CalMixer_setAnimationTime
	public	__c3d_cal3d_CalMixer_setTimeFactor
	public	__c3d_cal3d_CalMixer_updateAnimation
	public	__c3d_cal3d_CalMixer_updateSkeleton
	public	__c3d_cal3d_CalModel_FromCore
	public	__c3d_cal3d_CalModel_New
	public	__c3d_cal3d_CalModel_attachMesh
	public	__c3d_cal3d_CalModel_detachMesh
	public	__c3d_cal3d_CalModel_disableInternalData
	public	__c3d_cal3d_CalModel_getAbstractMixer
	public	__c3d_cal3d_CalModel_getBoundingBox
	public	__c3d_cal3d_CalModel_getCoreModel
	public	__c3d_cal3d_CalModel_getMesh
	public	__c3d_cal3d_CalModel_getMixer
	public	__c3d_cal3d_CalModel_getMorphTargetMixer
	public	__c3d_cal3d_CalModel_getPhysique
	public	__c3d_cal3d_CalModel_getRenderer
	public	__c3d_cal3d_CalModel_getSkeleton
	public	__c3d_cal3d_CalModel_getSpringSystem
	public	__c3d_cal3d_CalModel_getUserData
	public	__c3d_cal3d_CalModel_getVectorMesh
	public	__c3d_cal3d_CalModel_setAbstractMixer
	public	__c3d_cal3d_CalModel_setLodLevel
	public	__c3d_cal3d_CalModel_setMaterialSet
	public	__c3d_cal3d_CalModel_setUserData
	public	__c3d_cal3d_CalModel_update
	public	__c3d_cal3d_CalMorphTargetMixer_ApplyWeightToMorphMesh
	public	__c3d_cal3d_CalMorphTargetMixer_CalcKeyframeWeight
	public	__c3d_cal3d_CalMorphTargetMixer_CalcNormal
	public	__c3d_cal3d_CalMorphTargetMixer_FromModel
	public	__c3d_cal3d_CalMorphTargetMixer_Lerp
	public	__c3d_cal3d_CalMorphTargetMixer_MapRangeValue
	public	__c3d_cal3d_CalMorphTargetMixer_New
	public	__c3d_cal3d_CalMorphTargetMixer_SetTrackWeights
	public	__c3d_cal3d_CalMorphTargetMixer_blend
	public	__c3d_cal3d_CalMorphTargetMixer_clear
	public	__c3d_cal3d_CalMorphTargetMixer_getCurrentWeight
	public	__c3d_cal3d_CalMorphTargetMixer_getCurrentWeightBase
	public	__c3d_cal3d_CalMorphTargetMixer_getMorphTargetCount
	public	__c3d_cal3d_CalMorphTargetMixer_update
	public	__c3d_cal3d_CalPhysicalProperty_FromCoords
	public	__c3d_cal3d_CalPhysicalProperty_FromWeight
	public	__c3d_cal3d_CalPhysicalProperty_New
	public	__c3d_cal3d_CalPhysique_FromModel
	public	__c3d_cal3d_CalPhysique_New
	public	__c3d_cal3d_CalPhysique_calculateNormals
	public	__c3d_cal3d_CalPhysique_calculateTangentSpaces
	public	__c3d_cal3d_CalPhysique_calculateTangentSpacesInternal
	public	__c3d_cal3d_CalPhysique_calculateVertex
	public	__c3d_cal3d_CalPhysique_calculateVertices
	public	__c3d_cal3d_CalPhysique_calculateVerticesAndNormals
	public	__c3d_cal3d_CalPhysique_calculateVerticesAndNormalsInternal
	public	__c3d_cal3d_CalPhysique_calculateVerticesNormalsAndTexCoords
	public	__c3d_cal3d_CalPhysique_setAxisFactorX
	public	__c3d_cal3d_CalPhysique_setAxisFactorY
	public	__c3d_cal3d_CalPhysique_setAxisFactorZ
	public	__c3d_cal3d_CalPhysique_setNormalization
	public	__c3d_cal3d_CalPhysique_update
	public	__c3d_cal3d_CalPlane_New
	public	__c3d_cal3d_CalPlane_dist
	public	__c3d_cal3d_CalPlane_eval
	public	__c3d_cal3d_CalPlane_setNormal
	public	__c3d_cal3d_CalPlane_setPosition
	public	__c3d_cal3d_CalQuaternion_FromCoords
	public	__c3d_cal3d_CalQuaternion_FromQuat
	public	__c3d_cal3d_CalQuaternion_New
	public	__c3d_cal3d_CalQuaternion_assign
	public	__c3d_cal3d_CalQuaternion_blend
	public	__c3d_cal3d_CalQuaternion_clear
	public	__c3d_cal3d_CalQuaternion_conjugate
	public	__c3d_cal3d_CalQuaternion_equalTo
	public	__c3d_cal3d_CalQuaternion_invert
	public	__c3d_cal3d_CalQuaternion_multQuaternionLocal
	public	__c3d_cal3d_CalQuaternion_multVectorLocal
	public	__c3d_cal3d_CalRenderer_FromModel
	public	__c3d_cal3d_CalRenderer_FromRenderer
	public	__c3d_cal3d_CalRenderer_New
	public	__c3d_cal3d_CalRenderer_beginRendering
	public	__c3d_cal3d_CalRenderer_endRendering
	public	__c3d_cal3d_CalRenderer_getAmbientColor
	public	__c3d_cal3d_CalRenderer_getDiffuseColor
	public	__c3d_cal3d_CalRenderer_getFaceCount
	public	__c3d_cal3d_CalRenderer_getFaces
	public	__c3d_cal3d_CalRenderer_getMapCount
	public	__c3d_cal3d_CalRenderer_getMapUserData
	public	__c3d_cal3d_CalRenderer_getMeshCount
	public	__c3d_cal3d_CalRenderer_getNormals
	public	__c3d_cal3d_CalRenderer_getShininess
	public	__c3d_cal3d_CalRenderer_getSpecularColor
	public	__c3d_cal3d_CalRenderer_getSubmeshCount
	public	__c3d_cal3d_CalRenderer_getTangentSpaces
	public	__c3d_cal3d_CalRenderer_getTextureCoordinates
	public	__c3d_cal3d_CalRenderer_getVertexCount
	public	__c3d_cal3d_CalRenderer_getVertices
	public	__c3d_cal3d_CalRenderer_getVerticesAndNormals
	public	__c3d_cal3d_CalRenderer_getVerticesNormalsAndTexCoords
	public	__c3d_cal3d_CalRenderer_isTangentsEnabled
	public	__c3d_cal3d_CalRenderer_selectMeshSubmesh
	public	__c3d_cal3d_CalRenderer_setNormalization
	public	__c3d_cal3d_CalSkeleton_Create
	public	__c3d_cal3d_CalSkeleton_FromCore
	public	__c3d_cal3d_CalSkeleton_New
	public	__c3d_cal3d_CalSkeleton_calculateBoundingBoxes
	public	__c3d_cal3d_CalSkeleton_calculateState
	public	__c3d_cal3d_CalSkeleton_clearState
	public	__c3d_cal3d_CalSkeleton_getBone
	public	__c3d_cal3d_CalSkeleton_getBoneBoundingBox
	public	__c3d_cal3d_CalSkeleton_getBoneCount
	public	__c3d_cal3d_CalSkeleton_getBoneLines
	public	__c3d_cal3d_CalSkeleton_getBoneLinesStatic
	public	__c3d_cal3d_CalSkeleton_getBonePoints
	public	__c3d_cal3d_CalSkeleton_getBonePointsStatic
	public	__c3d_cal3d_CalSkeleton_getCoreSkeleton
	public	__c3d_cal3d_CalSkeleton_getVectorBone
	public	__c3d_cal3d_CalSkeleton_lockState
	public	__c3d_cal3d_CalSpringSystem_FromModel
	public	__c3d_cal3d_CalSpringSystem_New
	public	__c3d_cal3d_CalSpringSystem_calculateForces
	public	__c3d_cal3d_CalSpringSystem_calculateVertices
	public	__c3d_cal3d_CalSpringSystem_getForceVector
	public	__c3d_cal3d_CalSpringSystem_getGravityVector
	public	__c3d_cal3d_CalSpringSystem_setCollisionDetection
	public	__c3d_cal3d_CalSpringSystem_setForceVector
	public	__c3d_cal3d_CalSpringSystem_setGravityVector
	public	__c3d_cal3d_CalSpringSystem_update
	public	__c3d_cal3d_CalSpring_FromArr
	public	__c3d_cal3d_CalSpring_FromCoords
	public	__c3d_cal3d_CalSpring_New
	public	__c3d_cal3d_CalSubmesh_FromCore
	public	__c3d_cal3d_CalSubmesh_New
	public	__c3d_cal3d_CalSubmesh_disableInternalData
	public	__c3d_cal3d_CalSubmesh_enableTangents
	public	__c3d_cal3d_CalSubmesh_getBaseWeight
	public	__c3d_cal3d_CalSubmesh_getCoreMaterialId
	public	__c3d_cal3d_CalSubmesh_getCoreSubmesh
	public	__c3d_cal3d_CalSubmesh_getFaceCount
	public	__c3d_cal3d_CalSubmesh_getFaces
	public	__c3d_cal3d_CalSubmesh_getMorphTargetWeight
	public	__c3d_cal3d_CalSubmesh_getMorphTargetWeightCount
	public	__c3d_cal3d_CalSubmesh_getVectorMorphTargetWeight
	public	__c3d_cal3d_CalSubmesh_getVectorNormal
	public	__c3d_cal3d_CalSubmesh_getVectorPhysicalProperty
	public	__c3d_cal3d_CalSubmesh_getVectorVectorTangentSpace
	public	__c3d_cal3d_CalSubmesh_getVectorVertex
	public	__c3d_cal3d_CalSubmesh_getVectorWeight
	public	__c3d_cal3d_CalSubmesh_getVertexCount
	public	__c3d_cal3d_CalSubmesh_hasInternalData
	public	__c3d_cal3d_CalSubmesh_isTangentsEnabled
	public	__c3d_cal3d_CalSubmesh_setCoreMaterialId
	public	__c3d_cal3d_CalSubmesh_setLodLevel
	public	__c3d_cal3d_CalSubmesh_setMorphTargetWeight
	public	__c3d_cal3d_CalSubmesh_setMorphTargetWeightbyName
	public	__c3d_cal3d_CalTangentSpace_FromCoords
	public	__c3d_cal3d_CalTangentSpace_FromVector
	public	__c3d_cal3d_CalTangentSpace_New
	public	__c3d_cal3d_CalTextureCoordinate_FromCoords
	public	__c3d_cal3d_CalTextureCoordinate_FromUV
	public	__c3d_cal3d_CalTextureCoordinate_New
	public	__c3d_cal3d_CalVector_FromCoords
	public	__c3d_cal3d_CalVector_FromVector
	public	__c3d_cal3d_CalVector_New
	public	__c3d_cal3d_CalVector_addLocal
	public	__c3d_cal3d_CalVector_assign
	public	__c3d_cal3d_CalVector_assigncoords
	public	__c3d_cal3d_CalVector_assignvector
	public	__c3d_cal3d_CalVector_blend
	public	__c3d_cal3d_CalVector_clear
	public	__c3d_cal3d_CalVector_divScalarLocal
	public	__c3d_cal3d_CalVector_equalTo
	public	__c3d_cal3d_CalVector_length
	public	__c3d_cal3d_CalVector_multMatrixLocal
	public	__c3d_cal3d_CalVector_multQuaternionLocal
	public	__c3d_cal3d_CalVector_multScalarLocal
	public	__c3d_cal3d_CalVector_normalize
	public	__c3d_cal3d_CalVector_subLocal
	public	__c3d_cal3d_CalVertex_FromData
	public	__c3d_cal3d_CalVertex_FromVector
	public	__c3d_cal3d_CalVertex_New
	public	__c3d_cal3d_CalVertex_assign
	public	__c3d_cal3d_CalVertex_assignVector
	public	__c3d_cal3d_DeltaTimer_CreateDelta
	public	__c3d_cal3d_DeltaTimer_New
	public	__c3d_cal3d_DeltaTimer_UpdateDelta
	public	__c3d_cal3d_IntMap_Add
	public	__c3d_cal3d_IntMap_Contains
	public	__c3d_cal3d_IntMap_Get
	public	__c3d_cal3d_IntMap_New
	public	__c3d_cal3d_IntMap_Set
	public	__c3d_cal3d_IntNode_FromData
	public	__c3d_cal3d_IntNode_New
	public	__c3d_cal3d_StringMap_Add
	public	__c3d_cal3d_StringMap_Contains
	public	__c3d_cal3d_StringMap_Get
	public	__c3d_cal3d_StringMap_New
	public	__c3d_cal3d_StringMap_Set
	public	__c3d_cal3d_StringNode_FromData
	public	__c3d_cal3d_StringNode_New
	public	_c3d_cal3d_CalAbstractMixer
	public	_c3d_cal3d_CalAnimation
	public	_c3d_cal3d_CalAnimationAction
	public	_c3d_cal3d_CalAnimationCallback
	public	_c3d_cal3d_CalAnimationCycle
	public	_c3d_cal3d_CalAnimationState
	public	_c3d_cal3d_CalAnimationType
	public	_c3d_cal3d_CalBlendVertex
	public	_c3d_cal3d_CalBone
	public	_c3d_cal3d_CalBoundingBox
	public	_c3d_cal3d_CalCallbackRecord
	public	_c3d_cal3d_CalColor
	public	_c3d_cal3d_CalCoreAnimatedMorph
	public	_c3d_cal3d_CalCoreAnimation
	public	_c3d_cal3d_CalCoreBone
	public	_c3d_cal3d_CalCoreKeyframe
	public	_c3d_cal3d_CalCoreMaterial
	public	_c3d_cal3d_CalCoreMesh
	public	_c3d_cal3d_CalCoreModel
	public	_c3d_cal3d_CalCoreMorphAnimation
	public	_c3d_cal3d_CalCoreMorphKeyframe
	public	_c3d_cal3d_CalCoreMorphTrack
	public	_c3d_cal3d_CalCoreSkeleton
	public	_c3d_cal3d_CalCoreSubMorphTarget
	public	_c3d_cal3d_CalCoreSubmesh
	public	_c3d_cal3d_CalCoreTrack
	public	_c3d_cal3d_CalFace
	public	_c3d_cal3d_CalInfluence
	public	_c3d_cal3d_CalMap
	public	_c3d_cal3d_CalMatrix
	public	_c3d_cal3d_CalMesh
	public	_c3d_cal3d_CalMinMax
	public	_c3d_cal3d_CalMixer
	public	_c3d_cal3d_CalModel
	public	_c3d_cal3d_CalMorphTargetMixer
	public	_c3d_cal3d_CalPhysicalProperty
	public	_c3d_cal3d_CalPhysique
	public	_c3d_cal3d_CalPlane
	public	_c3d_cal3d_CalQuaternion
	public	_c3d_cal3d_CalRenderer
	public	_c3d_cal3d_CalSkeleton
	public	_c3d_cal3d_CalSpring
	public	_c3d_cal3d_CalSpringSystem
	public	_c3d_cal3d_CalSubmesh
	public	_c3d_cal3d_CalTangentSpace
	public	_c3d_cal3d_CalTextureCoordinate
	public	_c3d_cal3d_CalVector
	public	_c3d_cal3d_CalVertex
	public	_c3d_cal3d_Delta
	public	_c3d_cal3d_DeltaTimer
	public	_c3d_cal3d_IntMap
	public	_c3d_cal3d_IntNode
	public	_c3d_cal3d_Modf
	public	_c3d_cal3d_StringMap
	public	_c3d_cal3d_StringNode
	public	_c3d_cal3d_addExtraKeyframeForLoopedAnim
	public	_c3d_cal3d_quaternionMult
	public	_c3d_cal3d_shortestArc
	public	_c3d_cal3d_vectorAdd
	public	_c3d_cal3d_vectorCross
	public	_c3d_cal3d_vectorDot
	public	_c3d_cal3d_vectorScalarDiv
	public	_c3d_cal3d_vectorScalarMult
	public	_c3d_cal3d_vectorSub
	public	_c3d_cal3d_vectorSubVert
	section	"code" code
___bb_cal3d_cal3d:
	push	ebp
	mov	ebp,esp
	cmp	dword [_3391],0
	je	_3392
	mov	eax,0
	mov	esp,ebp
	pop	ebp
	ret
_3392:
	mov	dword [_3391],1
	call	___bb_blitz_blitz
	call	___bb_math_math
	push	_c3d_cal3d_CalMatrix
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalVector
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalTextureCoordinate
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalTangentSpace
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalInfluence
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalPhysicalProperty
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalVertex
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalFace
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalSpring
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalPlane
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalBoundingBox
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_StringMap
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_StringNode
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_IntMap
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_IntNode
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreMaterial
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalColor
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalMap
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreSubmesh
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreMesh
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreBone
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreSkeleton
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreModel
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreAnimation
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCallbackRecord
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreKeyframe
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreTrack
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreMorphTrack
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreMorphKeyframe
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreMorphAnimation
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreAnimatedMorph
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalCoreSubMorphTarget
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalBlendVertex
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalSubmesh
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalMesh
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalBone
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalSkeleton
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalMinMax
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalModel
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalAnimation
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalAnimationCallback
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalAnimationAction
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalAnimationCycle
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalAnimationType
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalAnimationState
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalAbstractMixer
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalMixer
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalMorphTargetMixer
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalPhysique
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalSpringSystem
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_CalRenderer
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_cal3d_DeltaTimer
	call	_bbObjectRegisterType
	add	esp,4
	mov	eax,dword [_3389]
	and	eax,1
	cmp	eax,0
	jne	_3390
	push	30
	call	dword [_c3d_cal3d_DeltaTimer+48]
	add	esp,4
	mov	dword [_c3d_cal3d_Delta],eax
	or	dword [_3389],1
_3390:
	mov	eax,0
	jmp	_1390
_1390:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMatrix_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalMatrix
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	fldz
	fstp	dword [ebx+24]
	fldz
	fstp	dword [ebx+28]
	fldz
	fstp	dword [ebx+32]
	fldz
	fstp	dword [ebx+36]
	fldz
	fstp	dword [ebx+40]
	fld1
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	fld1
	fstp	dword [ebx+24]
	fldz
	fstp	dword [ebx+28]
	fldz
	fstp	dword [ebx+32]
	fldz
	fstp	dword [ebx+36]
	fld1
	fstp	dword [ebx+40]
	mov	eax,0
	jmp	_1393
_1393:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMatrix_FromMat:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalMatrix
	call	_bbObjectNew
	add	esp,4
	fld1
	fstp	dword [eax+8]
	fldz
	fstp	dword [eax+12]
	fldz
	fstp	dword [eax+16]
	fldz
	fstp	dword [eax+20]
	fld1
	fstp	dword [eax+24]
	fldz
	fstp	dword [eax+28]
	fldz
	fstp	dword [eax+32]
	fldz
	fstp	dword [eax+36]
	fld1
	fstp	dword [eax+40]
	fld	dword [ebx+8]
	fstp	dword [eax+8]
	fld	dword [ebx+12]
	fstp	dword [eax+12]
	fld	dword [ebx+16]
	fstp	dword [eax+16]
	fld	dword [ebx+20]
	fstp	dword [eax+20]
	fld	dword [ebx+24]
	fstp	dword [eax+24]
	fld	dword [ebx+28]
	fstp	dword [eax+28]
	fld	dword [ebx+32]
	fstp	dword [eax+32]
	fld	dword [ebx+36]
	fstp	dword [eax+36]
	fld	dword [ebx+40]
	fstp	dword [eax+40]
	jmp	_1396
_1396:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMatrix_assign:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [eax+8]
	fmul	dword [eax+8]
	fmul	dword [_5848]
	fstp	dword [ebp-12]
	fld	dword [eax+12]
	fmul	dword [eax+12]
	fmul	dword [_5849]
	fld	dword [eax+16]
	fmul	dword [eax+16]
	fmul	dword [_5850]
	fld	dword [eax+8]
	fmul	dword [eax+12]
	fmul	dword [_5851]
	fstp	dword [ebp-4]
	fld	dword [eax+16]
	fmul	dword [eax+20]
	fmul	dword [_5852]
	fld	dword [eax+8]
	fmul	dword [eax+16]
	fmul	dword [_5853]
	fld	dword [eax+12]
	fmul	dword [eax+20]
	fmul	dword [_5854]
	fld	dword [eax+12]
	fmul	dword [eax+16]
	fmul	dword [_5855]
	fstp	dword [ebp-8]
	fld	dword [eax+8]
	fmul	dword [eax+20]
	fmul	dword [_5856]
	fld	dword [_5857]
	fsub	st0,st6
	fsub	st0,st5
	fstp	dword [edx+8]
	fld	dword [ebp-4]
	fadd	st0,st4
	fstp	dword [edx+20]
	fld	st2
	fsub	st0,st2
	fstp	dword [edx+32]
	fld	dword [ebp-4]
	fsubrp	st4,st0
	fxch	st3
	fstp	dword [edx+12]
	fld	dword [_5858]
	fsub	dword [ebp-12]
	fsubrp	st4,st0
	fxch	st3
	fstp	dword [edx+24]
	fld	dword [ebp-8]
	fadd	st0,st2
	fstp	dword [edx+36]
	faddp	st2,st0
	fxch	st1
	fstp	dword [edx+16]
	fld	dword [ebp-8]
	fsubrp	st1,st0
	fstp	dword [edx+28]
	fld	dword [_5859]
	fsub	dword [ebp-12]
	fsubrp	st1,st0
	fstp	dword [edx+40]
	mov	eax,0
	jmp	_1400
_1400:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMatrix_multMatrixLocal:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [edx+8]
	fmul	dword [eax+8]
	fld	dword [edx+20]
	fmul	dword [eax+12]
	faddp	st1,st0
	fld	dword [edx+32]
	fmul	dword [eax+16]
	faddp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [edx+12]
	fmul	dword [eax+8]
	fld	dword [edx+24]
	fmul	dword [eax+12]
	faddp	st1,st0
	fld	dword [edx+36]
	fmul	dword [eax+16]
	faddp	st1,st0
	fld	dword [edx+16]
	fmul	dword [eax+8]
	fld	dword [edx+28]
	fmul	dword [eax+12]
	faddp	st1,st0
	fld	dword [edx+40]
	fmul	dword [eax+16]
	faddp	st1,st0
	fld	dword [edx+8]
	fmul	dword [eax+20]
	fld	dword [edx+20]
	fmul	dword [eax+24]
	faddp	st1,st0
	fld	dword [edx+32]
	fmul	dword [eax+28]
	faddp	st1,st0
	fld	dword [edx+12]
	fmul	dword [eax+20]
	fld	dword [edx+24]
	fmul	dword [eax+24]
	faddp	st1,st0
	fld	dword [edx+36]
	fmul	dword [eax+28]
	faddp	st1,st0
	fld	dword [edx+16]
	fmul	dword [eax+20]
	fld	dword [edx+28]
	fmul	dword [eax+24]
	faddp	st1,st0
	fld	dword [edx+40]
	fmul	dword [eax+28]
	faddp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [edx+8]
	fmul	dword [eax+32]
	fld	dword [edx+20]
	fmul	dword [eax+36]
	faddp	st1,st0
	fld	dword [edx+32]
	fmul	dword [eax+40]
	faddp	st1,st0
	fld	dword [edx+12]
	fmul	dword [eax+32]
	fld	dword [edx+24]
	fmul	dword [eax+36]
	faddp	st1,st0
	fld	dword [edx+36]
	fmul	dword [eax+40]
	faddp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [edx+16]
	fmul	dword [eax+32]
	fld	dword [edx+28]
	fmul	dword [eax+36]
	faddp	st1,st0
	fld	dword [edx+40]
	fmul	dword [eax+40]
	faddp	st1,st0
	fld	dword [ebp-8]
	fstp	dword [eax+8]
	fxch	st5
	fstp	dword [eax+12]
	fxch	st3
	fstp	dword [eax+16]
	fxch	st1
	fstp	dword [eax+20]
	fstp	dword [eax+24]
	fld	dword [ebp-12]
	fstp	dword [eax+28]
	fstp	dword [eax+32]
	fld	dword [ebp-4]
	fstp	dword [eax+36]
	fstp	dword [eax+40]
	jmp	_1404
_1404:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMatrix_multScalarLocal:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [eax+8]
	fmul	st0,st1
	fstp	dword [eax+8]
	fld	dword [eax+12]
	fmul	st0,st1
	fstp	dword [eax+12]
	fld	dword [eax+16]
	fmul	st0,st1
	fstp	dword [eax+16]
	fld	dword [eax+20]
	fmul	st0,st1
	fstp	dword [eax+20]
	fld	dword [eax+24]
	fmul	st0,st1
	fstp	dword [eax+24]
	fld	dword [eax+28]
	fmul	st0,st1
	fstp	dword [eax+28]
	fld	dword [eax+32]
	fmul	st0,st1
	fstp	dword [eax+32]
	fld	dword [eax+36]
	fmul	st0,st1
	fstp	dword [eax+36]
	fld	dword [eax+40]
	fmulp	st1,st0
	fstp	dword [eax+40]
	jmp	_1408
_1408:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMatrix_blend:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	fld	dword [ebp+12]
	mov	eax,dword [ebp+16]
	fld	dword [edx+8]
	fld	dword [eax+8]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [edx+8]
	fld	dword [edx+12]
	fld	dword [eax+12]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [edx+12]
	fld	dword [edx+16]
	fld	dword [eax+16]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [edx+16]
	fld	dword [edx+20]
	fld	dword [eax+20]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [edx+20]
	fld	dword [edx+24]
	fld	dword [eax+24]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [edx+24]
	fld	dword [edx+28]
	fld	dword [eax+28]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [edx+28]
	fld	dword [edx+32]
	fld	dword [eax+32]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [edx+32]
	fld	dword [edx+36]
	fld	dword [eax+36]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [edx+36]
	fld	dword [edx+40]
	fld	dword [eax+40]
	fmulp	st2,st0
	faddp	st1,st0
	fstp	dword [edx+40]
	mov	eax,0
	jmp	_1413
_1413:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMatrix_det:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+8]
	fld	dword [eax+24]
	fmul	dword [eax+40]
	fld	dword [eax+36]
	fmul	dword [eax+28]
	fsubp	st1,st0
	fmulp	st1,st0
	fld	dword [eax+20]
	fld	dword [eax+12]
	fmul	dword [eax+40]
	fld	dword [eax+16]
	fmul	dword [eax+36]
	fsubp	st1,st0
	fmulp	st1,st0
	fsubp	st1,st0
	fld	dword [eax+32]
	fld	dword [eax+12]
	fmul	dword [eax+28]
	fld	dword [eax+16]
	fmul	dword [eax+24]
	fsubp	st1,st0
	fmulp	st1,st0
	faddp	st1,st0
	jmp	_1416
_1416:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalQuaternion
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fld1
	fstp	dword [ebx+20]
	mov	eax,0
	jmp	_1419
_1419:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_FromQuat:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebx+8]
	fstp	dword [eax+8]
	fld	dword [ebx+12]
	fstp	dword [eax+12]
	fld	dword [ebx+16]
	fstp	dword [eax+16]
	fld	dword [ebx+20]
	fstp	dword [eax+20]
	jmp	_1422
_1422:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_FromCoords:
	push	ebp
	mov	ebp,esp
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebp+8]
	fstp	dword [eax+8]
	fld	dword [ebp+12]
	fstp	dword [eax+12]
	fld	dword [ebp+16]
	fstp	dword [eax+16]
	fld	dword [ebp+20]
	fstp	dword [eax+20]
	jmp	_1428
_1428:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_assign:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [eax+8]
	fstp	dword [edx+8]
	fld	dword [eax+12]
	fstp	dword [edx+12]
	fld	dword [eax+16]
	fstp	dword [edx+16]
	fld	dword [eax+20]
	fstp	dword [edx+20]
	mov	eax,0
	jmp	_1432
_1432:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_multQuaternionLocal:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [eax+8]
	fld	dword [eax+12]
	fld	dword [eax+16]
	fld	dword [eax+20]
	fld	st0
	fmul	dword [edx+8]
	fld	st4
	fmul	dword [edx+20]
	faddp	st1,st0
	fld	st3
	fmul	dword [edx+16]
	faddp	st1,st0
	fld	st2
	fmul	dword [edx+12]
	fsubp	st1,st0
	fstp	dword [eax+8]
	fld	st0
	fmul	dword [edx+12]
	fld	st4
	fmul	dword [edx+16]
	fsubp	st1,st0
	fld	st3
	fmul	dword [edx+20]
	faddp	st1,st0
	fld	st2
	fmul	dword [edx+8]
	faddp	st1,st0
	fstp	dword [eax+12]
	fld	st0
	fmul	dword [edx+16]
	fld	st4
	fmul	dword [edx+12]
	faddp	st1,st0
	fld	st3
	fmul	dword [edx+8]
	fsubp	st1,st0
	fld	st2
	fmul	dword [edx+20]
	faddp	st1,st0
	fstp	dword [eax+16]
	fmul	dword [edx+20]
	fxch	st3
	fmul	dword [edx+8]
	fsubp	st3,st0
	fxch	st1
	fmul	dword [edx+12]
	fsubp	st2,st0
	fmul	dword [edx+16]
	fsubp	st1,st0
	fstp	dword [eax+20]
	jmp	_1436
_1436:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_multVectorLocal:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [eax+8]
	fld	dword [eax+12]
	fld	dword [eax+16]
	fld	dword [eax+20]
	fld	st0
	fmul	dword [edx+8]
	fld	st3
	fmul	dword [edx+16]
	faddp	st1,st0
	fld	st2
	fmul	dword [edx+12]
	fsubp	st1,st0
	fstp	dword [eax+8]
	fld	st0
	fmul	dword [edx+12]
	fld	st4
	fmul	dword [edx+16]
	fsubp	st1,st0
	fld	st2
	fmul	dword [edx+8]
	faddp	st1,st0
	fstp	dword [eax+12]
	fmul	dword [edx+16]
	fld	st3
	fmul	dword [edx+12]
	faddp	st1,st0
	fld	st2
	fmul	dword [edx+8]
	fsubp	st1,st0
	fstp	dword [eax+16]
	fxch	st2
	fchs
	fmul	dword [edx+8]
	fxch	st1
	fmul	dword [edx+12]
	fsubp	st1,st0
	fxch	st1
	fmul	dword [edx+16]
	fsubp	st1,st0
	fstp	dword [eax+20]
	jmp	_1440
_1440:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_equalTo:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [ecx+8]
	fld	dword [edx+8]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	je	_3422
	fld	dword [ecx+12]
	fld	dword [edx+12]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_3422:
	cmp	eax,0
	je	_3424
	fld	dword [ecx+16]
	fld	dword [edx+16]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_3424:
	cmp	eax,0
	je	_3426
	fld	dword [ecx+20]
	fld	dword [edx+20]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_3426:
	cmp	eax,0
	je	_3428
	mov	byte [ebp-4],1
	jmp	_1444
_3428:
	mov	byte [ebp-4],0
	jmp	_1444
_1444:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_blend:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+16]
	mov	byte [ebp-4],0
	fld	dword [esi+8]
	fmul	dword [ebx+8]
	fld	dword [esi+12]
	fmul	dword [ebx+12]
	faddp	st1,st0
	fld	dword [esi+16]
	fmul	dword [ebx+16]
	faddp	st1,st0
	fld	dword [esi+20]
	fmul	dword [ebx+20]
	faddp	st1,st0
	mov	byte [ebp-4],0
	fldz
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_3432
	fchs
	mov	byte [ebp-4],1
_3432:
	fld	dword [_5919]
	fsub	st0,st1
	fld	dword [_5920]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_3434
	fstp	st0
	fld	dword [_5921]
	fsub	dword [ebp+12]
	fstp	dword [ebp-24]
	jmp	_3435
_3434:
	sub	esp,8
	fstp	qword [esp]
	call	_bbACos
	add	esp,8
	fstp	dword [ebp-16]
	fld1
	fstp	qword [ebp-12]
	fld	dword [ebp-16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-12]
	fdivrp	st1,st0
	fstp	qword [ebp-12]
	fld	qword [ebp-12]
	fstp	dword [ebp-20]
	fld	dword [_5922]
	fsub	dword [ebp+12]
	fmul	dword [ebp-16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	dword [ebp-20]
	fmulp	st1,st0
	fstp	dword [ebp-24]
	fld	dword [ebp+12]
	fmul	dword [ebp-16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	dword [ebp-20]
	fmulp	st1,st0
	fstp	dword [ebp+12]
_3435:
	movzx	eax,byte [ebp-4]
	cmp	eax,0
	je	_3438
	fld	dword [ebp+12]
	fchs
	fstp	dword [ebp+12]
_3438:
	fld	dword [ebp-24]
	fmul	dword [esi+8]
	fld	dword [ebp+12]
	fmul	dword [ebx+8]
	faddp	st1,st0
	fstp	dword [esi+8]
	fld	dword [ebp-24]
	fmul	dword [esi+12]
	fld	dword [ebp+12]
	fmul	dword [ebx+12]
	faddp	st1,st0
	fstp	dword [esi+12]
	fld	dword [ebp-24]
	fmul	dword [esi+16]
	fld	dword [ebp+12]
	fmul	dword [ebx+16]
	faddp	st1,st0
	fstp	dword [esi+16]
	fld	dword [ebp-24]
	fmul	dword [esi+20]
	fld	dword [ebp+12]
	fmul	dword [ebx+20]
	faddp	st1,st0
	fstp	dword [esi+20]
	mov	eax,0
	jmp	_1449
_1449:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_clear:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fldz
	fstp	dword [eax+8]
	fldz
	fstp	dword [eax+12]
	fldz
	fstp	dword [eax+16]
	fld1
	fstp	dword [eax+20]
	mov	eax,0
	jmp	_1452
_1452:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_conjugate:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+8]
	fchs
	fstp	dword [eax+8]
	fld	dword [eax+12]
	fchs
	fstp	dword [eax+12]
	fld	dword [eax+16]
	fchs
	fstp	dword [eax+16]
	mov	eax,0
	jmp	_1455
_1455:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalQuaternion_invert:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,4
	fld	dword [ebx+8]
	fmul	dword [ebx+8]
	fld	dword [ebx+12]
	fmul	dword [ebx+12]
	faddp	st1,st0
	fld	dword [ebx+16]
	fmul	dword [ebx+16]
	faddp	st1,st0
	fld	dword [ebx+20]
	fmul	dword [ebx+20]
	faddp	st1,st0
	fldz
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_3441
	fstp	st0
	mov	eax,0
	jmp	_1458
_3441:
	fld	dword [_5934]
	fdivrp	st1,st0
	fld	dword [ebx+8]
	fmul	st0,st1
	fstp	dword [ebx+8]
	fld	dword [ebx+12]
	fmul	st0,st1
	fstp	dword [ebx+12]
	fld	dword [ebx+16]
	fmul	st0,st1
	fstp	dword [ebx+16]
	fld	dword [ebx+20]
	fmulp	st1,st0
	fstp	dword [ebx+20]
	mov	eax,0
	jmp	_1458
_1458:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_quaternionMult:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [eax+20]
	fmul	dword [edx+20]
	fld	dword [eax+8]
	fmul	dword [edx+8]
	fsubp	st1,st0
	fld	dword [eax+12]
	fmul	dword [edx+12]
	fsubp	st1,st0
	fld	dword [eax+16]
	fmul	dword [edx+16]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	dword [eax+20]
	fmul	dword [edx+16]
	fld	dword [eax+8]
	fmul	dword [edx+12]
	faddp	st1,st0
	fld	dword [eax+12]
	fmul	dword [edx+8]
	fsubp	st1,st0
	fld	dword [eax+16]
	fmul	dword [edx+20]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	dword [eax+20]
	fmul	dword [edx+12]
	fld	dword [eax+8]
	fmul	dword [edx+16]
	fsubp	st1,st0
	fld	dword [eax+12]
	fmul	dword [edx+20]
	faddp	st1,st0
	fld	dword [eax+16]
	fmul	dword [edx+8]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	dword [eax+20]
	fmul	dword [edx+8]
	fld	dword [eax+8]
	fmul	dword [edx+20]
	faddp	st1,st0
	fld	dword [eax+12]
	fmul	dword [edx+16]
	faddp	st1,st0
	fld	dword [eax+16]
	fmul	dword [edx+12]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	call	dword [_c3d_cal3d_CalQuaternion+52]
	add	esp,16
	jmp	_1462
_1462:
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_shortestArc:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	push	esi
	push	edi
	call	_c3d_cal3d_vectorCross
	add	esp,8
	mov	ebx,eax
	push	esi
	push	edi
	call	_c3d_cal3d_vectorDot
	add	esp,8
	fstp	dword [ebp-4]
	fld	dword [_5942]
	fld	dword [ebp-4]
	fadd	dword [_5943]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fstp	dword [ebp-4]
	mov	eax,ebx
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,8
	fld	dword [ebp-4]
	fchs
	fdiv	dword [_5944]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+16]
	push	dword [ebx+12]
	push	dword [ebx+8]
	call	dword [_c3d_cal3d_CalQuaternion+52]
	add	esp,16
	jmp	_1466
_1466:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalVector
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	mov	eax,0
	jmp	_1469
_1469:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_FromVector:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebx+8]
	fstp	dword [eax+8]
	fld	dword [ebx+12]
	fstp	dword [eax+12]
	fld	dword [ebx+16]
	fstp	dword [eax+16]
	jmp	_1472
_1472:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_FromCoords:
	push	ebp
	mov	ebp,esp
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebp+8]
	fstp	dword [eax+8]
	fld	dword [ebp+12]
	fstp	dword [eax+12]
	fld	dword [ebp+16]
	fstp	dword [eax+16]
	jmp	_1477
_1477:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_assign:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [edx+8]
	fld	dword [eax+8]
	fstp	dword [ecx+8]
	mov	eax,dword [edx+8]
	fld	dword [eax+12]
	fstp	dword [ecx+12]
	mov	eax,dword [edx+8]
	fld	dword [eax+16]
	fstp	dword [ecx+16]
	mov	eax,0
	jmp	_1481
_1481:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_assigncoords:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fxch	st2
	fstp	dword [eax+8]
	fstp	dword [eax+12]
	fstp	dword [eax+16]
	mov	eax,0
	jmp	_1487
_1487:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_assignvector:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [eax+8]
	fstp	dword [edx+8]
	fld	dword [eax+12]
	fstp	dword [edx+12]
	fld	dword [eax+16]
	fstp	dword [edx+16]
	mov	eax,0
	jmp	_1491
_1491:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_addLocal:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [eax+8]
	fadd	dword [edx+8]
	fstp	dword [eax+8]
	fld	dword [eax+12]
	fadd	dword [edx+12]
	fstp	dword [eax+12]
	fld	dword [eax+16]
	fadd	dword [edx+16]
	fstp	dword [eax+16]
	jmp	_1495
_1495:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_subLocal:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [eax+8]
	fsub	dword [edx+8]
	fstp	dword [eax+8]
	fld	dword [eax+12]
	fsub	dword [edx+12]
	fstp	dword [eax+12]
	fld	dword [eax+16]
	fsub	dword [edx+16]
	fstp	dword [eax+16]
	jmp	_1499
_1499:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_multScalarLocal:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [eax+8]
	fmul	st0,st1
	fstp	dword [eax+8]
	fld	dword [eax+12]
	fmul	st0,st1
	fstp	dword [eax+12]
	fld	dword [eax+16]
	fmulp	st1,st0
	fstp	dword [eax+16]
	jmp	_1503
_1503:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_multQuaternionLocal:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	dword [ebx+20]
	fld	dword [ebx+16]
	fchs
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebx+12]
	fchs
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebx+8]
	fchs
	sub	esp,4
	fstp	dword [esp]
	call	dword [_c3d_cal3d_CalQuaternion+52]
	add	esp,16
	mov	edi,eax
	mov	eax,edi
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	fld	dword [edi+8]
	fstp	dword [esi+8]
	fld	dword [edi+12]
	fstp	dword [esi+12]
	fld	dword [edi+16]
	fstp	dword [esi+16]
	mov	eax,esi
	jmp	_1507
_1507:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_multMatrixLocal:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [eax+8]
	fld	dword [eax+12]
	fld	dword [eax+16]
	fld	dword [edx+8]
	fmul	st0,st3
	fld	dword [edx+20]
	fmul	st0,st3
	faddp	st1,st0
	fld	dword [edx+32]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [eax+8]
	fld	dword [edx+12]
	fmul	st0,st3
	fld	dword [edx+24]
	fmul	st0,st3
	faddp	st1,st0
	fld	dword [edx+36]
	fmul	st0,st2
	faddp	st1,st0
	fstp	dword [eax+12]
	fld	dword [edx+16]
	fmulp	st3,st0
	fld	dword [edx+28]
	fmulp	st2,st0
	fxch	st1
	faddp	st2,st0
	fld	dword [edx+40]
	fmulp	st1,st0
	faddp	st1,st0
	fstp	dword [eax+16]
	jmp	_1511
_1511:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_blend:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	fld	dword [ebp+12]
	mov	eax,dword [ebp+16]
	fld	dword [edx+8]
	fld	st1
	fld	dword [eax+8]
	fsub	dword [edx+8]
	fmulp	st1,st0
	faddp	st1,st0
	fstp	dword [edx+8]
	fld	dword [edx+12]
	fld	st1
	fld	dword [eax+12]
	fsub	dword [edx+12]
	fmulp	st1,st0
	faddp	st1,st0
	fstp	dword [edx+12]
	fld	dword [edx+16]
	fld	dword [eax+16]
	fsub	dword [edx+16]
	fmulp	st2,st0
	faddp	st1,st0
	fstp	dword [edx+16]
	mov	eax,0
	jmp	_1516
_1516:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_divScalarLocal:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [eax+8]
	fdiv	st0,st1
	fstp	dword [eax+8]
	fld	dword [eax+12]
	fdiv	st0,st1
	fstp	dword [eax+12]
	fld	dword [eax+16]
	fdivrp	st1,st0
	fstp	dword [eax+16]
	jmp	_1520
_1520:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_equalTo:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [ecx+8]
	fld	dword [edx+8]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	je	_3454
	fld	dword [ecx+12]
	fld	dword [edx+12]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_3454:
	cmp	eax,0
	je	_3456
	fld	dword [ecx+16]
	fld	dword [edx+16]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
_3456:
	cmp	eax,0
	je	_3458
	mov	byte [ebp-4],1
	jmp	_1524
_3458:
	mov	byte [ebp-4],0
	jmp	_1524
_1524:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_clear:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fldz
	fstp	dword [eax+8]
	fldz
	fstp	dword [eax+12]
	fldz
	fstp	dword [eax+16]
	mov	eax,0
	jmp	_1527
_1527:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_length:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+8]
	fmul	dword [eax+8]
	fld	dword [eax+12]
	fmul	dword [eax+12]
	faddp	st1,st0
	fld	dword [eax+16]
	fmul	dword [eax+16]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	jmp	_1530
_1530:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVector_normalize:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [ebx+8]
	fmul	dword [ebx+8]
	fld	dword [ebx+12]
	fmul	dword [ebx+12]
	faddp	st1,st0
	fld	dword [ebx+16]
	fmul	dword [ebx+16]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	dword [ebx+8]
	fdiv	st0,st1
	fstp	dword [ebx+8]
	fld	dword [ebx+12]
	fdiv	st0,st1
	fstp	dword [ebx+12]
	fld	dword [ebx+16]
	fdiv	st0,st1
	fstp	dword [ebx+16]
	jmp	_1533
_1533:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_vectorAdd:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [edx+16]
	fadd	dword [eax+16]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [edx+12]
	fadd	dword [eax+12]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [edx+8]
	fadd	dword [eax+8]
	sub	esp,4
	fstp	dword [esp]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	jmp	_1537
_1537:
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_vectorSub:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [edx+16]
	fsub	dword [eax+16]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [edx+12]
	fsub	dword [eax+12]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [edx+8]
	fsub	dword [eax+8]
	sub	esp,4
	fstp	dword [esp]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	jmp	_1541
_1541:
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_vectorSubVert:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	ecx,dword [edx+8]
	fld	dword [ecx+16]
	mov	ecx,dword [eax+8]
	fsub	dword [ecx+16]
	sub	esp,4
	fstp	dword [esp]
	mov	ecx,dword [edx+8]
	fld	dword [ecx+12]
	mov	ecx,dword [eax+8]
	fsub	dword [ecx+12]
	sub	esp,4
	fstp	dword [esp]
	mov	edx,dword [edx+8]
	fld	dword [edx+8]
	mov	eax,dword [eax+8]
	fsub	dword [eax+8]
	sub	esp,4
	fstp	dword [esp]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	jmp	_1545
_1545:
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_vectorScalarMult:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [eax+16]
	fmul	st0,st1
	sub	esp,4
	fstp	dword [esp]
	fld	dword [eax+12]
	fmul	st0,st1
	sub	esp,4
	fstp	dword [esp]
	fld	dword [eax+8]
	fmulp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	jmp	_1549
_1549:
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_vectorScalarDiv:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [eax+16]
	fdiv	st0,st1
	sub	esp,4
	fstp	dword [esp]
	fld	dword [eax+12]
	fdiv	st0,st1
	sub	esp,4
	fstp	dword [esp]
	fld	dword [eax+8]
	fdivrp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	jmp	_1553
_1553:
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_vectorDot:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [edx+8]
	fmul	dword [eax+8]
	fld	dword [edx+12]
	fmul	dword [eax+12]
	faddp	st1,st0
	fld	dword [edx+16]
	fmul	dword [eax+16]
	faddp	st1,st0
	jmp	_1557
_1557:
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_vectorCross:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [edx+8]
	fmul	dword [eax+12]
	fld	dword [edx+12]
	fmul	dword [eax+8]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	dword [edx+16]
	fmul	dword [eax+8]
	fld	dword [edx+8]
	fmul	dword [eax+16]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	dword [edx+12]
	fmul	dword [eax+16]
	fld	dword [edx+16]
	fmul	dword [eax+12]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	jmp	_1561
_1561:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalTextureCoordinate_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalTextureCoordinate
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	mov	eax,0
	jmp	_1564
_1564:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalTextureCoordinate_FromUV:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalTextureCoordinate
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebx+8]
	fstp	dword [eax+8]
	fld	dword [ebx+12]
	fstp	dword [eax+12]
	jmp	_1567
_1567:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalTextureCoordinate_FromCoords:
	push	ebp
	mov	ebp,esp
	push	_c3d_cal3d_CalTextureCoordinate
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebp+8]
	fstp	dword [eax+8]
	fld	dword [ebp+12]
	fstp	dword [eax+12]
	jmp	_1571
_1571:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalTangentSpace_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalTangentSpace
	mov	dword [ebx+8],_bbNullObject
	fldz
	fstp	dword [ebx+12]
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+8],eax
	fldz
	fstp	dword [ebx+12]
	mov	eax,0
	jmp	_1574
_1574:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalTangentSpace_FromVector:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	_c3d_cal3d_CalTangentSpace
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	esi
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	mov	dword [ebx+8],eax
	fld	dword [ebp+12]
	fstp	dword [ebx+12]
	mov	eax,ebx
	jmp	_1578
_1578:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalTangentSpace_FromCoords:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	_c3d_cal3d_CalTangentSpace
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	dword [ebp+8]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	mov	dword [ebx+8],eax
	fld	dword [ebp+20]
	fstp	dword [ebx+12]
	mov	eax,ebx
	jmp	_1584
_1584:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalInfluence_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalInfluence
	mov	dword [ebx+8],0
	fldz
	fstp	dword [ebx+12]
	mov	dword [ebx+8],0
	fldz
	fstp	dword [ebx+12]
	mov	eax,0
	jmp	_1587
_1587:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalInfluence_FromCoords:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalInfluence
	call	_bbObjectNew
	add	esp,4
	mov	dword [eax+8],ebx
	fld	dword [ebp+12]
	fstp	dword [eax+12]
	jmp	_1591
_1591:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysicalProperty_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalPhysicalProperty
	fldz
	fstp	dword [ebx+8]
	mov	dword [ebx+12],_bbNullObject
	mov	dword [ebx+16],_bbNullObject
	mov	dword [ebx+20],_bbNullObject
	fldz
	fstp	dword [ebx+8]
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+12],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+16],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+20],eax
	mov	eax,0
	jmp	_1594
_1594:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysicalProperty_FromWeight:
	push	ebp
	mov	ebp,esp
	push	_c3d_cal3d_CalPhysicalProperty
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebp+8]
	fstp	dword [eax+8]
	jmp	_1597
_1597:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysicalProperty_FromCoords:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+16]
	push	_c3d_cal3d_CalPhysicalProperty
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebp+20]
	fstp	dword [eax+8]
	mov	dword [eax+12],esi
	mov	dword [eax+16],ebx
	mov	dword [eax+20],edi
	jmp	_1603
_1603:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVertex_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalVertex
	mov	dword [ebx+8],_bbNullObject
	mov	dword [ebx+12],_bbNullObject
	mov	dword [ebx+16],_bbEmptyArray
	mov	dword [ebx+20],0
	mov	dword [ebx+24],0
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+8],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+12],eax
	push	0
	push	_3468
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+16],eax
	mov	dword [ebx+20],0
	mov	dword [ebx+24],0
	mov	eax,0
	jmp	_1606
_1606:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVertex_FromVector:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	push	_c3d_cal3d_CalVertex
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	edi
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	mov	dword [ebx+8],eax
	cmp	esi,_bbNullObject
	jne	_3470
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+12],eax
	jmp	_3471
_3470:
	push	esi
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	mov	dword [ebx+12],eax
_3471:
	push	0
	push	_3472
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+16],eax
	mov	dword [ebx+20],0
	mov	dword [ebx+24],0
	mov	eax,ebx
	jmp	_1610
_1610:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVertex_FromData:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+12]
	mov	eax,dword [ebp+16]
	mov	dword [ebp-4],eax
	mov	edi,dword [ebp+20]
	push	_c3d_cal3d_CalVertex
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	dword [ebp+8]
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	mov	dword [ebx+8],eax
	push	esi
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	mov	dword [ebx+12],eax
	mov	eax,dword [ebp-4]
	push	dword [eax+20]
	push	_3474
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+16],eax
	mov	eax,dword [ebp-4]
	push	dword [eax+20]
	mov	eax,dword [ebp-4]
	lea	eax,byte [eax+24]
	push	eax
	mov	eax,dword [ebx+16]
	lea	eax,byte [eax+24]
	push	eax
	call	_bbMemCopy
	add	esp,12
	mov	dword [ebx+20],edi
	mov	eax,dword [ebp+24]
	mov	dword [ebx+24],eax
	mov	eax,ebx
	jmp	_1617
_1617:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVertex_assign:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	mov	dword [ebx+8],eax
	mov	eax,0
	jmp	_1623
_1623:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalVertex_assignVector:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	mov	dword [ebx+8],eax
	mov	eax,0
	jmp	_1627
_1627:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalFace_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalFace
	push	3
	push	_3475
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+8],eax
	mov	eax,dword [ebx+8]
	mov	dword [eax+24],0
	mov	eax,dword [ebx+8]
	mov	dword [eax+4+24],0
	mov	eax,dword [ebx+8]
	mov	dword [eax+8+24],0
	mov	eax,0
	jmp	_1630
_1630:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalFace_FromCoords:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+16]
	push	_c3d_cal3d_CalFace
	call	_bbObjectNew
	add	esp,4
	mov	edx,dword [eax+8]
	mov	dword [edx+24],esi
	mov	edx,dword [eax+8]
	mov	dword [edx+4+24],ebx
	mov	edx,dword [eax+8]
	mov	dword [edx+8+24],edi
	jmp	_1635
_1635:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalFace_FromFace:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalFace
	call	_bbObjectNew
	add	esp,4
	mov	ecx,dword [eax+8]
	mov	edx,dword [ebx+8]
	mov	edx,dword [edx+24]
	mov	dword [ecx+24],edx
	mov	ecx,dword [eax+8]
	mov	edx,dword [ebx+8]
	mov	edx,dword [edx+4+24]
	mov	dword [ecx+4+24],edx
	mov	ecx,dword [eax+8]
	mov	edx,dword [ebx+8]
	mov	edx,dword [edx+8+24]
	mov	dword [ecx+8+24],edx
	jmp	_1638
_1638:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalFace_FromArr:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalFace
	call	_bbObjectNew
	add	esp,4
	mov	ecx,dword [eax+8]
	mov	edx,dword [ebx+24]
	mov	dword [ecx+24],edx
	mov	ecx,dword [eax+8]
	mov	edx,dword [ebx+4+24]
	mov	dword [ecx+4+24],edx
	mov	ecx,dword [eax+8]
	mov	edx,dword [ebx+8+24]
	mov	dword [ecx+8+24],edx
	jmp	_1641
_1641:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpring_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalSpring
	push	2
	push	_3479
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+8],eax
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	mov	eax,dword [ebx+8]
	mov	dword [eax+24],0
	mov	eax,dword [ebx+8]
	mov	dword [eax+4+24],0
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	mov	eax,0
	jmp	_1644
_1644:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpring_FromCoords:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	_c3d_cal3d_CalSpring
	call	_bbObjectNew
	add	esp,4
	mov	edx,dword [eax+8]
	mov	dword [edx+24],esi
	mov	edx,dword [eax+8]
	mov	dword [edx+4+24],ebx
	fld	dword [ebp+16]
	fstp	dword [eax+12]
	fld	dword [ebp+20]
	fstp	dword [eax+16]
	jmp	_1650
_1650:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpring_FromArr:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalSpring
	call	_bbObjectNew
	add	esp,4
	mov	ecx,dword [eax+8]
	mov	edx,dword [ebx+24]
	mov	dword [ecx+24],edx
	mov	ecx,dword [eax+8]
	mov	edx,dword [ebx+4+24]
	mov	dword [ecx+4+24],edx
	fld	dword [ebp+12]
	fstp	dword [eax+12]
	fld	dword [ebp+16]
	fstp	dword [eax+16]
	jmp	_1655
_1655:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPlane_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalPlane
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	mov	eax,0
	jmp	_1658
_1658:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPlane_eval:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [eax+8]
	fmul	dword [edx+8]
	fld	dword [eax+12]
	fmul	dword [edx+12]
	faddp	st1,st0
	fld	dword [eax+16]
	fmul	dword [edx+16]
	faddp	st1,st0
	fadd	dword [edx+20]
	jmp	_1662
_1662:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPlane_setPosition:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [eax+8]
	fchs
	fmul	dword [edx+8]
	fld	dword [eax+12]
	fmul	dword [edx+12]
	fsubp	st1,st0
	fld	dword [eax+16]
	fmul	dword [edx+16]
	fsubp	st1,st0
	fstp	dword [edx+20]
	mov	eax,0
	jmp	_1666
_1666:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPlane_setNormal:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [eax+8]
	fstp	dword [edx+8]
	fld	dword [eax+12]
	fstp	dword [edx+12]
	fld	dword [eax+16]
	fstp	dword [edx+16]
	fld	dword [_6093]
	fstp	dword [edx+20]
	mov	eax,0
	jmp	_1670
_1670:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPlane_dist:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [eax+8]
	fmul	dword [edx+8]
	fld	dword [eax+12]
	fmul	dword [edx+12]
	faddp	st1,st0
	fld	dword [eax+16]
	fmul	dword [edx+16]
	faddp	st1,st0
	fadd	dword [edx+20]
	fstp	qword [ebp-8]
	fld	dword [edx+8]
	fmul	dword [edx+8]
	fld	dword [edx+12]
	fmul	dword [edx+12]
	faddp	st1,st0
	fld	dword [edx+16]
	fmul	dword [edx+16]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-8]
	fdivrp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	jmp	_1674
_1674:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBoundingBox_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	push	edi
	call	_bbObjectCtor
	add	esp,4
	mov	dword [edi],_c3d_cal3d_CalBoundingBox
	mov	dword [edi+8],_bbEmptyArray
	push	6
	push	_3482
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [edi+8],eax
	mov	esi,0
	jmp	_3484
_3:
	mov	ebx,dword [edi+8]
	push	_c3d_cal3d_CalPlane
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+esi*4+24],eax
_1:
	add	esi,1
_3484:
	cmp	esi,5
	jle	_3
_2:
	mov	eax,0
	jmp	_1677
_1677:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBoundingBox_computePoints:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	eax,dword [ebp+12]
	cmp	eax,_bbEmptyArray
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_3485
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+20]
	cmp	eax,8
	setl	al
	movzx	eax,al
_3485:
	cmp	eax,0
	je	_3487
	push	8
	push	_3488
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp+12],eax
_3487:
	push	_c3d_cal3d_CalMatrix
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	dword [ebp-24],0
	mov	dword [ebp-20],0
	jmp	_3492
_6:
	mov	dword [ebp-16],2
	jmp	_3494
_9:
	mov	edi,4
	jmp	_3496
_12:
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+8]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+12]
	fstp	dword [ebx+20]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+16]
	fstp	dword [ebx+32]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+12]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+12]
	fstp	dword [ebx+24]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+16]
	fstp	dword [ebx+36]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+16]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+12]
	fstp	dword [ebx+28]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+16]
	fstp	dword [ebx+40]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	fstp	dword [ebp-4]
	fldz
	fld	dword [ebp-4]
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_3502
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+20]
	fchs
	fstp	dword [ebx+8]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+12]
	fstp	dword [ebx+20]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+16]
	fstp	dword [ebx+32]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+20]
	fchs
	fstp	dword [ebx+12]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+12]
	fstp	dword [ebx+24]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+16]
	fstp	dword [ebx+36]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+20]
	fchs
	fstp	dword [ebx+16]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+12]
	fstp	dword [ebx+28]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+16]
	fstp	dword [ebx+40]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	fdiv	dword [ebp-4]
	fstp	dword [ebp-8]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+8]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+20]
	fchs
	fstp	dword [ebx+20]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+16]
	fstp	dword [ebx+32]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+12]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+20]
	fchs
	fstp	dword [ebx+24]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+16]
	fstp	dword [ebx+36]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+16]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+20]
	fchs
	fstp	dword [ebx+28]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+16]
	fstp	dword [ebx+40]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	fdiv	dword [ebp-4]
	fstp	dword [ebp-12]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+8]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+12]
	fstp	dword [ebx+20]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+20]
	fchs
	fstp	dword [ebx+32]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+12]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+12]
	fstp	dword [ebx+24]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+20]
	fchs
	fstp	dword [ebx+36]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+16]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+12]
	fstp	dword [ebx+28]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+edi*4+24]
	fld	dword [eax+20]
	fchs
	fstp	dword [ebx+40]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	fdiv	dword [ebp-4]
	mov	edx,dword [ebp-24]
	mov	eax,dword [ebp+12]
	cmp	dword [eax+edx*4+24],_bbNullObject
	je	_3506
	mov	edx,dword [ebp-24]
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+edx*4+24]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	jmp	_3508
_3506:
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-12]
	push	dword [ebp-8]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	mov	ecx,eax
	mov	edx,dword [ebp-24]
	mov	eax,dword [ebp+12]
	mov	dword [eax+edx*4+24],ecx
_3508:
	jmp	_3509
_3502:
	mov	edx,dword [ebp-24]
	mov	eax,dword [ebp+12]
	cmp	dword [eax+edx*4+24],_bbNullObject
	je	_3510
	mov	edx,dword [ebp-24]
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+edx*4+24]
	push	0
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	jmp	_3512
_3510:
	push	0
	push	0
	push	0
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	mov	ecx,eax
	mov	edx,dword [ebp-24]
	mov	eax,dword [ebp+12]
	mov	dword [eax+edx*4+24],ecx
_3512:
_3509:
	add	dword [ebp-24],1
_10:
	add	edi,1
_3496:
	cmp	edi,5
	jle	_12
_11:
_7:
	add	dword [ebp-16],1
_3494:
	cmp	dword [ebp-16],3
	jle	_9
_8:
_4:
	add	dword [ebp-20],1
_3492:
	cmp	dword [ebp-20],1
	jle	_6
_5:
	mov	eax,dword [ebp+12]
	jmp	_1681
_1681:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_StringMap_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_StringMap
	mov	dword [ebx+8],_bbEmptyArray
	mov	eax,0
	jmp	_1684
_1684:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_StringMap_Set:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+20]
	mov	dword [ebp-8],eax
	mov	ebx,0
	mov	eax,dword [ebp-8]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_3515
_15:
	push	edi
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+8]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_3517
	mov	eax,dword [esi+8]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [ebp+16]
	mov	dword [edx+12],eax
	mov	eax,0
	jmp	_1689
_3517:
_13:
	add	ebx,1
_3515:
	cmp	ebx,dword [ebp-4]
	jle	_15
_14:
	mov	eax,dword [ebp-8]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+8]
	push	_3518
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+8],eax
	mov	ebx,dword [esi+8]
	push	dword [ebp+16]
	push	edi
	call	dword [_c3d_cal3d_StringNode+48]
	add	esp,8
	mov	edx,dword [ebp-8]
	mov	dword [ebx+edx*4+24],eax
	mov	eax,0
	jmp	_1689
_1689:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_StringMap_Add:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+20]
	mov	dword [ebp-4],eax
	push	dword [ebp-4]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_16
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	cmp	dword [ebp-4],0
	jle	_3520
	mov	ebx,0
	mov	eax,dword [ebp-4]
	sub	eax,1
	mov	edi,eax
	jmp	_3522
_19:
	push	dword [ebp+12]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+8]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_3524
	mov	eax,dword [esi+8]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [ebp+16]
	mov	dword [edx+12],eax
	mov	eax,0
	jmp	_1694
_3524:
_17:
	add	ebx,1
_3522:
	cmp	ebx,edi
	jle	_19
_18:
_3520:
	mov	eax,dword [ebp-4]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+8]
	push	_3518
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+8],eax
	mov	ebx,dword [esi+8]
	push	dword [ebp+16]
	push	dword [ebp+12]
	call	dword [_c3d_cal3d_StringNode+48]
	add	esp,8
	mov	edx,dword [ebp-4]
	mov	dword [ebx+edx*4+24],eax
	mov	eax,0
	jmp	_1694
_1694:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_StringMap_Contains:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,dword [edi+8]
	cmp	dword [eax+20],0
	jg	_3525
	mov	byte [ebp-4],0
	jmp	_1698
_3525:
	mov	esi,0
	mov	eax,dword [edi+8]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	ebx,eax
	jmp	_3527
_22:
	push	dword [ebp+12]
	mov	eax,dword [edi+8]
	mov	eax,dword [eax+esi*4+24]
	push	dword [eax+8]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_3529
	mov	byte [ebp-4],1
	jmp	_1698
_3529:
_20:
	add	esi,1
_3527:
	cmp	esi,ebx
	jle	_22
_21:
	mov	byte [ebp-4],0
	jmp	_1698
_1698:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_StringMap_Get:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	eax,dword [esi+8]
	cmp	dword [eax+20],0
	jg	_3530
	mov	eax,_23
	jmp	_1702
_3530:
	mov	ebx,0
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_3532
_26:
	push	dword [ebp+12]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+8]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_3534
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+ebx*4+24]
	mov	eax,dword [eax+12]
	jmp	_1702
_3534:
_24:
	add	ebx,1
_3532:
	cmp	ebx,edi
	jle	_26
_25:
	mov	eax,_bbEmptyString
	jmp	_1702
_1702:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_StringNode_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_StringNode
	mov	dword [ebx+8],_bbEmptyString
	mov	dword [ebx+12],_bbEmptyString
	mov	eax,0
	jmp	_1705
_1705:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_StringNode_FromData:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	_c3d_cal3d_StringNode
	call	_bbObjectNew
	add	esp,4
	mov	dword [eax+8],esi
	mov	dword [eax+12],ebx
	jmp	_1709
_1709:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_IntMap_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_IntMap
	mov	dword [ebx+8],_bbEmptyArray
	mov	eax,0
	jmp	_1712
_1712:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_IntMap_Set:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [esi+8]
	mov	edi,dword [eax+20]
	mov	edx,0
	mov	eax,edi
	sub	eax,1
	jmp	_3538
_29:
	mov	ecx,dword [esi+8]
	mov	ecx,dword [ecx+edx*4+24]
	cmp	dword [ecx+8],ebx
	jne	_3540
	mov	eax,dword [esi+8]
	mov	edx,dword [eax+edx*4+24]
	mov	eax,dword [ebp+16]
	mov	dword [edx+12],eax
	mov	eax,0
	jmp	_1717
_3540:
_27:
	add	edx,1
_3538:
	cmp	edx,eax
	jle	_29
_28:
	mov	eax,edi
	add	eax,1
	push	eax
	push	0
	push	dword [esi+8]
	push	_3541
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+8],eax
	mov	esi,dword [esi+8]
	push	dword [ebp+16]
	push	ebx
	call	dword [_c3d_cal3d_IntNode+48]
	add	esp,8
	mov	dword [esi+edi*4+24],eax
	mov	eax,0
	jmp	_1717
_1717:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_IntMap_Add:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [esi+8]
	mov	edi,dword [eax+20]
	mov	edx,0
	mov	eax,edi
	sub	eax,1
	jmp	_3544
_32:
	mov	ecx,dword [esi+8]
	mov	ecx,dword [ecx+edx*4+24]
	cmp	dword [ecx+8],ebx
	jne	_3546
	mov	eax,dword [esi+8]
	mov	edx,dword [eax+edx*4+24]
	mov	eax,dword [ebp+16]
	mov	dword [edx+12],eax
	mov	eax,0
	jmp	_1722
_3546:
_30:
	add	edx,1
_3544:
	cmp	edx,eax
	jle	_32
_31:
	mov	eax,edi
	add	eax,1
	push	eax
	push	0
	push	dword [esi+8]
	push	_3541
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+8],eax
	mov	esi,dword [esi+8]
	push	dword [ebp+16]
	push	ebx
	call	dword [_c3d_cal3d_IntNode+48]
	add	esp,8
	mov	dword [esi+edi*4+24],eax
	mov	eax,0
	jmp	_1722
_1722:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_IntMap_Contains:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	eax,dword [ebx+8]
	cmp	dword [eax+20],0
	jg	_3547
	mov	byte [ebp-4],0
	jmp	_1726
_3547:
	mov	edx,0
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+20]
	sub	eax,1
	jmp	_3549
_35:
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+edx*4+24]
	cmp	dword [esi+8],ecx
	jne	_3551
	mov	byte [ebp-4],1
	jmp	_1726
_3551:
_33:
	add	edx,1
_3549:
	cmp	edx,eax
	jle	_35
_34:
	mov	byte [ebp-4],0
	jmp	_1726
_1726:
	movzx	eax,byte [ebp-4]
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_IntMap_Get:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	eax,dword [ebx+8]
	cmp	dword [eax+20],0
	jg	_3552
	mov	eax,_23
	jmp	_1730
_3552:
	mov	edx,0
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+20]
	sub	eax,1
	jmp	_3554
_38:
	mov	esi,dword [ebx+8]
	mov	esi,dword [esi+edx*4+24]
	cmp	dword [esi+8],ecx
	jne	_3556
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+edx*4+24]
	mov	eax,dword [eax+12]
	jmp	_1730
_3556:
_36:
	add	edx,1
_3554:
	cmp	edx,eax
	jle	_38
_37:
	mov	eax,_bbNullObject
	jmp	_1730
_1730:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_IntNode_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_IntNode
	mov	dword [ebx+8],0
	mov	dword [ebx+12],_bbNullObject
	mov	eax,0
	jmp	_1733
_1733:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_IntNode_FromData:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	_c3d_cal3d_IntNode
	call	_bbObjectNew
	add	esp,4
	mov	dword [eax+8],esi
	mov	dword [eax+12],ebx
	jmp	_1737
_1737:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCoreMaterial
	mov	dword [ebx+8],_bbNullObject
	mov	dword [ebx+12],_bbNullObject
	mov	dword [ebx+16],_bbNullObject
	fldz
	fstp	dword [ebx+20]
	mov	dword [ebx+24],_bbEmptyArray
	mov	dword [ebx+28],_bbNullObject
	mov	dword [ebx+32],_bbEmptyString
	mov	dword [ebx+36],_bbEmptyString
	push	_c3d_cal3d_CalColor
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+8],eax
	push	_c3d_cal3d_CalColor
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+12],eax
	push	_c3d_cal3d_CalColor
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+16],eax
	push	0
	push	_3558
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+24],eax
	mov	eax,0
	jmp	_1740
_1740:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getAmbientColor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_1743
_1743:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getDiffuseColor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_1746
_1746:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getMapCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+20]
	jmp	_1749
_1749:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getMapFilename:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3559
	mov	eax,dword [ecx+24]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_3559:
	cmp	eax,0
	je	_3561
	mov	eax,_23
	jmp	_1753
_3561:
	mov	eax,dword [ecx+24]
	mov	eax,dword [eax+edx*4+24]
	cmp	eax,_bbNullObject
	jne	_3563
	mov	eax,_23
	jmp	_1753
_3563:
	mov	eax,dword [eax+8]
	jmp	_1753
_1753:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getMapUserData:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3565
	mov	eax,dword [ecx+24]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_3565:
	cmp	eax,0
	je	_3567
	mov	eax,_bbNullObject
	jmp	_1757
_3567:
	mov	eax,dword [ecx+24]
	mov	eax,dword [eax+edx*4+24]
	cmp	eax,_bbNullObject
	jne	_3569
	mov	eax,_bbNullObject
	jmp	_1757
_3569:
	mov	eax,dword [eax+12]
	jmp	_1757
_1757:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getShininess:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+20]
	jmp	_1760
_1760:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getSpecularColor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_1763
_1763:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getUserData:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+28]
	jmp	_1766
_1766:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getVectorMap:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	jmp	_1769
_1769:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getFilename:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	jmp	_1772
_1772:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_getName:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+32]
	jmp	_1775
_1775:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_reserve:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	push	_3571
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+24],eax
	mov	byte [ebp-4],1
	jmp	_1779
_1779:
	movzx	eax,byte [ebp-4]
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_setAmbientColor:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	call	dword [_c3d_cal3d_CalColor+48]
	add	esp,4
	mov	dword [ebx+8],eax
	mov	eax,0
	jmp	_1783
_1783:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_setDiffuseColor:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	call	dword [_c3d_cal3d_CalColor+48]
	add	esp,4
	mov	dword [ebx+12],eax
	mov	eax,0
	jmp	_1787
_1787:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_setMap:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	cmp	ecx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3572
	mov	eax,dword [ebx+24]
	cmp	ecx,dword [eax+20]
	setge	al
	movzx	eax,al
_3572:
	cmp	eax,0
	je	_3574
	mov	byte [ebp-4],0
	jmp	_1792
_3574:
	mov	eax,dword [ebx+24]
	mov	dword [eax+ecx*4+24],edx
	mov	byte [ebp-4],1
	jmp	_1792
_1792:
	movzx	eax,byte [ebp-4]
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_setMapUserData:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	cmp	ecx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3575
	mov	eax,dword [ebx+24]
	cmp	ecx,dword [eax+20]
	setge	al
	movzx	eax,al
_3575:
	cmp	eax,0
	je	_3577
	mov	byte [ebp-4],0
	jmp	_1797
_3577:
	mov	eax,dword [ebx+24]
	mov	eax,dword [eax+ecx*4+24]
	cmp	eax,_bbNullObject
	jne	_3579
	mov	byte [ebp-4],0
	jmp	_1797
_3579:
	mov	dword [eax+12],edx
	mov	byte [ebp-4],1
	jmp	_1797
_1797:
	movzx	eax,byte [ebp-4]
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_setShininess:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+20]
	mov	eax,0
	jmp	_1801
_1801:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_setSpecularColor:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	call	dword [_c3d_cal3d_CalColor+48]
	add	esp,4
	mov	dword [ebx+16],eax
	mov	eax,0
	jmp	_1805
_1805:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_setFilename:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+36],eax
	mov	eax,0
	jmp	_1809
_1809:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_setName:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+32],eax
	mov	eax,0
	jmp	_1813
_1813:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMaterial_setUserData:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+28],eax
	mov	eax,0
	jmp	_1817
_1817:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalColor_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalColor
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	mov	eax,0
	jmp	_1820
_1820:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalColor_FromColor:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalColor
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebx+8]
	fstp	dword [eax+8]
	fld	dword [ebx+12]
	fstp	dword [eax+12]
	fld	dword [ebx+16]
	fstp	dword [eax+16]
	fld	dword [ebx+20]
	fstp	dword [eax+20]
	jmp	_1823
_1823:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalColor_FromValues:
	push	ebp
	mov	ebp,esp
	push	_c3d_cal3d_CalColor
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebp+8]
	fstp	dword [eax+8]
	fld	dword [ebp+12]
	fstp	dword [eax+12]
	fld	dword [ebp+16]
	fstp	dword [eax+16]
	fld	dword [ebp+20]
	fstp	dword [eax+20]
	jmp	_1829
_1829:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMap_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalMap
	mov	dword [ebx+8],_bbEmptyString
	mov	dword [ebx+12],_bbNullObject
	mov	eax,0
	jmp	_1832
_1832:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCoreSubmesh
	mov	dword [ebx+8],_bbEmptyArray
	mov	dword [ebx+12],_bbEmptyArray
	mov	dword [ebx+16],_bbEmptyArray
	mov	dword [ebx+20],_bbEmptyArray
	mov	dword [ebx+24],_bbEmptyArray
	mov	dword [ebx+28],_bbEmptyArray
	mov	dword [ebx+32],_bbEmptyArray
	mov	dword [ebx+36],_bbEmptyArray
	mov	dword [ebx+40],_bbEmptyArray
	mov	dword [ebx+44],0
	mov	dword [ebx+48],0
	mov	eax,0
	jmp	_1835
_1835:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getCoreMaterialThreadId:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+44]
	jmp	_1838
_1838:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getFaceCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+32]
	mov	eax,dword [eax+20]
	jmp	_1841
_1841:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getLodCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+48]
	jmp	_1844
_1844:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getSpringCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	mov	eax,dword [eax+20]
	jmp	_1847
_1847:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getVectorFace:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+32]
	jmp	_1850
_1850:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getVectorPhysicalProperty:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+28]
	jmp	_1853
_1853:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getVectorSpring:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	jmp	_1856
_1856:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getVectorVectorTangentSpace:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_1859
_1859:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getVectorVectorTextureCoordinate:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	jmp	_1862
_1862:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getVectorVertex:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_1865
_1865:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getVertexCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+20]
	jmp	_1868
_1868:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_isTangentsEnabled:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3582
	mov	eax,dword [ecx+12]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_3582:
	cmp	eax,0
	je	_3584
	mov	byte [ebp-4],0
	jmp	_1872
_3584:
	mov	eax,dword [ecx+12]
	movzx	eax,byte [eax+edx+24]
	mov	eax,eax
	mov	byte [ebp-4],al
	jmp	_1872
_1872:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_enableTangents:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	movzx	eax,byte [ebp+16]
	mov	eax,eax
	mov	byte [ebp-4],al
	mov	eax,dword [ebp+12]
	cmp	eax,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3585
	mov	edx,dword [edi+12]
	mov	eax,dword [ebp+12]
	cmp	eax,dword [edx+20]
	setge	al
	movzx	eax,al
_3585:
	cmp	eax,0
	je	_3587
	mov	byte [ebp-8],0
	jmp	_1877
_3587:
	mov	edx,dword [edi+12]
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	mov	ecx,dword [ebp+12]
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [edx+ecx+24],al
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,0
	jne	_3588
	mov	ebx,dword [edi+16]
	push	0
	push	_3589
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,dword [ebp+12]
	mov	dword [ebx+edx*4+24],eax
	mov	byte [ebp-8],1
	jmp	_1877
_3588:
	mov	ebx,dword [edi+16]
	mov	eax,dword [edi+8]
	push	dword [eax+20]
	push	_3590
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,dword [ebp+12]
	mov	dword [ebx+edx*4+24],eax
	mov	esi,0
	mov	edx,dword [edi+16]
	mov	eax,dword [ebp+12]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_3592
_41:
	mov	edx,dword [edi+16]
	mov	eax,dword [ebp+12]
	mov	ebx,dword [edx+eax*4+24]
	push	_c3d_cal3d_CalTangentSpace
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+esi*4+24],eax
_39:
	add	esi,1
_3592:
	cmp	esi,dword [ebp-12]
	jle	_41
_40:
	mov	ebx,0
	mov	eax,dword [edi+32]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	esi,eax
	jmp	_3595
_44:
	mov	eax,edi
	push	dword [ebp+12]
	mov	edx,dword [edi+32]
	mov	edx,dword [edx+ebx*4+24]
	mov	edx,dword [edx+8]
	push	dword [edx+8+24]
	mov	edx,dword [edi+32]
	mov	edx,dword [edx+ebx*4+24]
	mov	edx,dword [edx+8]
	push	dword [edx+4+24]
	mov	edx,dword [edi+32]
	mov	edx,dword [edx+ebx*4+24]
	mov	edx,dword [edx+8]
	push	dword [edx+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+156]
	add	esp,20
	mov	eax,edi
	push	dword [ebp+12]
	mov	edx,dword [edi+32]
	mov	edx,dword [edx+ebx*4+24]
	mov	edx,dword [edx+8]
	push	dword [edx+24]
	mov	edx,dword [edi+32]
	mov	edx,dword [edx+ebx*4+24]
	mov	edx,dword [edx+8]
	push	dword [edx+8+24]
	mov	edx,dword [edi+32]
	mov	edx,dword [edx+ebx*4+24]
	mov	edx,dword [edx+8]
	push	dword [edx+4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+156]
	add	esp,20
	mov	eax,edi
	push	dword [ebp+12]
	mov	edx,dword [edi+32]
	mov	edx,dword [edx+ebx*4+24]
	mov	edx,dword [edx+8]
	push	dword [edx+4+24]
	mov	edx,dword [edi+32]
	mov	edx,dword [edx+ebx*4+24]
	mov	edx,dword [edx+8]
	push	dword [edx+24]
	mov	edx,dword [edi+32]
	mov	edx,dword [edx+ebx*4+24]
	mov	edx,dword [edx+8]
	push	dword [edx+8+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+156]
	add	esp,20
_42:
	add	ebx,1
_3595:
	cmp	ebx,esi
	jle	_44
_43:
	mov	esi,0
	mov	edx,dword [edi+16]
	mov	eax,dword [ebp+12]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	ebx,eax
	jmp	_3600
_47:
	mov	edx,dword [edi+16]
	mov	eax,dword [ebp+12]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+esi*4+24]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	fstp	st0
	add	esp,4
_45:
	add	esi,1
_3600:
	cmp	esi,ebx
	jle	_47
_46:
	mov	byte [ebp-8],1
	jmp	_1877
_1877:
	movzx	eax,byte [ebp-8]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_reserve:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+16]
	push	dword [ebp+12]
	push	_3603
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [edi+8],eax
	push	esi
	push	_3604
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [edi+12],eax
	push	esi
	push	0
	push	dword [edi+20]
	push	_3605
	call	_bbArraySlice
	add	esp,16
	mov	dword [edi+20],eax
	push	esi
	push	0
	push	dword [edi+24]
	push	_3606
	call	_bbArraySlice
	add	esp,16
	mov	dword [edi+24],eax
	push	esi
	push	0
	push	dword [edi+16]
	push	_3605
	call	_bbArraySlice
	add	esp,16
	mov	dword [edi+16],eax
	mov	ebx,0
	mov	eax,esi
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_3608
_50:
	mov	esi,dword [edi+24]
	push	dword [ebp+12]
	push	0
	mov	eax,dword [edi+24]
	push	dword [eax+ebx*4+24]
	push	_3610
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+ebx*4+24],eax
	mov	eax,dword [edi+12]
	movzx	eax,byte [eax+ebx+24]
	mov	eax,eax
	cmp	eax,1
	jne	_3611
	mov	esi,dword [edi+16]
	push	dword [ebp+12]
	push	0
	mov	eax,dword [edi+16]
	push	dword [eax+ebx*4+24]
	push	_3612
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+ebx*4+24],eax
	jmp	_3613
_3611:
	mov	esi,dword [edi+16]
	push	0
	push	0
	mov	eax,dword [edi+16]
	push	dword [eax+ebx*4+24]
	push	_3612
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+ebx*4+24],eax
_3613:
_48:
	add	ebx,1
_3608:
	cmp	ebx,dword [ebp-8]
	jle	_50
_49:
	push	dword [ebp+20]
	push	_3614
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [edi+32],eax
	push	dword [ebp+24]
	push	_3615
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [edi+36],eax
	cmp	dword [ebp+24],0
	jle	_3616
	push	dword [ebp+12]
	push	_3617
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [edi+28],eax
_3616:
	mov	byte [ebp-4],1
	jmp	_1884
_1884:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_setCoreMaterialThreadId:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+44],eax
	mov	eax,0
	jmp	_1888
_1888:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_setFace:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	cmp	ecx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3618
	mov	eax,dword [ebx+32]
	cmp	ecx,dword [eax+20]
	setge	al
	movzx	eax,al
_3618:
	cmp	eax,0
	je	_3620
	mov	byte [ebp-4],0
	jmp	_1893
_3620:
	mov	eax,dword [ebx+32]
	mov	dword [eax+ecx*4+24],edx
	mov	byte [ebp-4],1
	jmp	_1893
_1893:
	movzx	eax,byte [ebp-4]
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_setLodCount:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+48],eax
	mov	eax,0
	jmp	_1897
_1897:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_setPhysicalProperty:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	cmp	ecx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3621
	mov	eax,dword [ebx+28]
	cmp	ecx,dword [eax+20]
	setge	al
	movzx	eax,al
_3621:
	cmp	eax,0
	je	_3623
	mov	byte [ebp-4],0
	jmp	_1902
_3623:
	mov	eax,dword [ebx+28]
	mov	dword [eax+ecx*4+24],edx
	mov	byte [ebp-4],1
	jmp	_1902
_1902:
	movzx	eax,byte [ebp-4]
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_setSpring:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	cmp	ecx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3624
	mov	eax,dword [ebx+36]
	cmp	ecx,dword [eax+20]
	setge	al
	movzx	eax,al
_3624:
	cmp	eax,0
	je	_3626
	mov	byte [ebp-4],0
	jmp	_1907
_3626:
	mov	eax,dword [ebx+36]
	mov	dword [eax+ecx*4+24],edx
	mov	byte [ebp-4],1
	jmp	_1907
_1907:
	movzx	eax,byte [ebp-4]
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_setTangentSpace:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+16]
	mov	edx,dword [ebp+20]
	mov	eax,dword [ebp+12]
	cmp	eax,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3627
	mov	ecx,dword [esi+8]
	mov	eax,dword [ebp+12]
	cmp	eax,dword [ecx+20]
	setge	al
	movzx	eax,al
_3627:
	cmp	eax,0
	je	_3629
	mov	byte [ebp-4],0
	jmp	_1914
_3629:
	cmp	edi,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3630
	mov	eax,dword [esi+24]
	cmp	edi,dword [eax+20]
	setge	al
	movzx	eax,al
_3630:
	cmp	eax,0
	je	_3632
	mov	byte [ebp-4],0
	jmp	_1914
_3632:
	mov	eax,dword [esi+12]
	movzx	eax,byte [eax+edi+24]
	mov	eax,eax
	cmp	eax,0
	jne	_3633
	mov	byte [ebp-4],0
	jmp	_1914
_3633:
	mov	eax,dword [esi+16]
	mov	ecx,dword [eax+edi*4+24]
	mov	eax,dword [ebp+12]
	mov	eax,dword [ecx+eax*4+24]
	cmp	dword [eax+8],_bbNullObject
	jne	_3634
	mov	eax,dword [esi+16]
	mov	ecx,dword [eax+edi*4+24]
	mov	eax,dword [ebp+12]
	mov	ebx,dword [ecx+eax*4+24]
	push	edx
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	mov	dword [ebx+8],eax
	jmp	_3635
_3634:
	mov	eax,dword [esi+16]
	mov	ecx,dword [eax+edi*4+24]
	mov	eax,dword [ebp+12]
	mov	eax,dword [ecx+eax*4+24]
	mov	eax,dword [eax+8]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
_3635:
	mov	eax,dword [esi+16]
	mov	edx,dword [eax+edi*4+24]
	mov	eax,dword [ebp+12]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [ebp+24]
	fstp	dword [eax+12]
	mov	byte [ebp-4],1
	jmp	_1914
_1914:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_setTextureCoordinate:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	ecx,dword [ebp+16]
	mov	edx,dword [ebp+20]
	cmp	ecx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3637
	mov	eax,dword [esi+24]
	cmp	ecx,dword [eax+20]
	setge	al
	movzx	eax,al
_3637:
	cmp	eax,0
	je	_3639
	mov	byte [ebp-4],0
	jmp	_1920
_3639:
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3640
	mov	eax,dword [esi+24]
	mov	eax,dword [eax+ecx*4+24]
	cmp	ebx,dword [eax+20]
	setge	al
	movzx	eax,al
_3640:
	cmp	eax,0
	je	_3642
	mov	byte [ebp-4],0
	jmp	_1920
_3642:
	mov	eax,dword [esi+24]
	mov	eax,dword [eax+ecx*4+24]
	mov	dword [eax+ebx*4+24],edx
	mov	byte [ebp-4],1
	jmp	_1920
_1920:
	movzx	eax,byte [ebp-4]
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_setVertex:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	cmp	ecx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3643
	mov	eax,dword [ebx+8]
	cmp	ecx,dword [eax+20]
	setge	al
	movzx	eax,al
_3643:
	cmp	eax,0
	je	_3645
	mov	byte [ebp-4],0
	jmp	_1925
_3645:
	mov	eax,dword [ebx+8]
	mov	dword [eax+ecx*4+24],edx
	mov	byte [ebp-4],1
	jmp	_1925
_1925:
	movzx	eax,byte [ebp-4]
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_addCoreSubMorphTarget:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+40]
	mov	ebx,dword [eax+20]
	mov	eax,ebx
	add	eax,1
	push	eax
	push	0
	push	dword [esi+40]
	push	_3647
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+40],eax
	mov	eax,dword [esi+40]
	mov	dword [eax+ebx*4+24],edi
	mov	eax,ebx
	jmp	_1929
_1929:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getCoreSubMorphTarget:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3648
	mov	eax,dword [ecx+40]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_3648:
	cmp	eax,0
	je	_3650
	push	edx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_51
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_1933
_3650:
	mov	eax,dword [ecx+40]
	mov	eax,dword [eax+edx*4+24]
	jmp	_1933
_1933:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getCoreSubMorphTargetCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [eax+20]
	jmp	_1936
_1936:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_getVectorCoreSubMorphTarget:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	jmp	_1939
_1939:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_scale:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,0
	mov	eax,dword [edi+8]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	ebx,eax
	jmp	_3652
_54:
	mov	eax,dword [edi+8]
	mov	eax,dword [eax+esi*4+24]
	mov	eax,dword [eax+8]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
_52:
	add	esi,1
_3652:
	cmp	esi,ebx
	jle	_54
_53:
	mov	eax,dword [edi+36]
	cmp	dword [eax+20],0
	jle	_3655
	fld	dword [ebp+12]
	fsub	dword [_6347]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [_6348]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_3656
	push	0
	push	_3657
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [edi+36],eax
	push	0
	push	_3658
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [edi+28],eax
_3656:
_3655:
	mov	eax,0
	jmp	_1943
_1943:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubmesh_UpdateTangentVector:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+12]
	mov	esi,dword [ebp+16]
	mov	edi,dword [ebp+20]
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp+24]
	mov	eax,dword [edx+eax*4+24]
	mov	edx,dword [eax+esi*4+24]
	fld	dword [edx+8]
	mov	edx,dword [eax+ebx*4+24]
	fsub	dword [edx+8]
	mov	edx,dword [eax+esi*4+24]
	fld	dword [edx+12]
	mov	edx,dword [eax+ebx*4+24]
	fsub	dword [edx+12]
	fstp	dword [ebp-20]
	mov	edx,dword [eax+edi*4+24]
	fld	dword [edx+8]
	mov	edx,dword [eax+ebx*4+24]
	fsub	dword [edx+8]
	mov	edx,dword [eax+edi*4+24]
	fld	dword [edx+12]
	mov	eax,dword [eax+ebx*4+24]
	fsub	dword [eax+12]
	fstp	dword [ebp-16]
	fld	st1
	fmul	dword [ebp-16]
	fld	dword [ebp-20]
	fmul	st0,st2
	fsubp	st1,st0
	fstp	dword [ebp-24]
	fmul	dword [ebp-20]
	fld	dword [ebp-16]
	fmulp	st2,st0
	fsubrp	st1,st0
	fstp	dword [ebp-28]
	fld	dword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [_6362]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_3668
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [_6363]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_3668:
	cmp	eax,0
	je	_3670
	mov	eax,0
	jmp	_1950
_3670:
	fld	dword [ebp-16]
	fdiv	dword [ebp-24]
	fstp	dword [ebp-4]
	fld	dword [ebp-20]
	fdiv	dword [ebp-28]
	fstp	dword [ebp-8]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+8]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+esi*4+24]
	push	dword [eax+8]
	call	_c3d_cal3d_vectorSub
	add	esp,8
	mov	esi,eax
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+8]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+edi*4+24]
	push	dword [eax+8]
	call	_c3d_cal3d_vectorSub
	add	esp,8
	mov	edi,eax
	mov	eax,esi
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
	mov	esi,eax
	mov	eax,edi
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,8
	mov	esi,eax
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+12]
	push	esi
	call	_c3d_cal3d_vectorDot
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [eax+12]
	call	_c3d_cal3d_vectorScalarMult
	add	esp,8
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+72]
	add	esp,8
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+108]
	fstp	st0
	add	esp,4
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp+24]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+ebx*4+24]
	mov	eax,dword [eax+8]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
	mov	eax,0
	jmp	_1950
_1950:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCoreMesh
	mov	dword [ebx+8],_bbEmptyArray
	mov	dword [ebx+12],_bbEmptyString
	mov	dword [ebx+16],_bbEmptyString
	push	0
	push	_3683
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+8],eax
	mov	eax,0
	jmp	_1953
_1953:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_addCoreSubmesh:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+8]
	mov	ebx,dword [eax+20]
	mov	eax,ebx
	add	eax,1
	push	eax
	push	0
	push	dword [esi+8]
	push	_1065
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+8],eax
	mov	eax,dword [esi+8]
	mov	dword [eax+ebx*4+24],edi
	mov	eax,ebx
	jmp	_1957
_1957:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_getCoreSubmesh:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3685
	mov	eax,dword [ecx+8]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_3685:
	cmp	eax,0
	je	_3687
	push	_55
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_1961
_3687:
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+edx*4+24]
	jmp	_1961
_1961:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_getCoreSubmeshCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+20]
	jmp	_1964
_1964:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_getVectorCoreSubmesh:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_1967
_1967:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_addAsMorphTarget:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+20]
	cmp	dword [edx+20],eax
	je	_3690
	push	_56
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_1971
_3690:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	cmp	dword [eax+20],0
	jne	_3691
	push	_57
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_1971
_3691:
	mov	dword [ebp-16],0
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,4
	mov	dword [ebp-24],eax
	jmp	_58
_60:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp-16]
	mov	ecx,dword [edx+eax*4+24]
	mov	edx,dword [ebp-16]
	mov	eax,dword [ebp-20]
	mov	esi,dword [eax+edx*4+24]
	push	ecx
	mov	eax,dword [ecx]
	call	dword [eax+88]
	add	esp,4
	mov	ebx,eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+88]
	add	esp,4
	cmp	ebx,eax
	je	_3697
	push	_61
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_1971
_3697:
	add	dword [ebp-16],1
_58:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+20]
	cmp	dword [ebp-16],eax
	jl	_60
_59:
	mov	dword [ebp-16],0
	jmp	_62
_64:
	mov	edx,dword [ebp-16]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+edx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	ebx,eax
	push	_c3d_cal3d_CalCoreSubMorphTarget
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp-12]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	mov	eax,eax
	cmp	eax,0
	jne	_3702
	mov	eax,-1
	jmp	_1971
_3702:
	mov	edx,dword [ebp-16]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+edx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	esi,0
	mov	edi,0
	mov	eax,ebx
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_3707
_67:
	push	_c3d_cal3d_CalBlendVertex
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [ebx+8]
	mov	edx,dword [ebp-4]
	mov	edx,dword [edx+esi*4+24]
	push	dword [edx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [ebx+12]
	mov	edx,dword [ebp-4]
	mov	edx,dword [edx+esi*4+24]
	push	dword [edx+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [ebp-12]
	push	ebx
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,12
	mov	eax,eax
	cmp	eax,0
	jne	_3713
	mov	eax,-1
	jmp	_1971
_3713:
	add	esi,1
_65:
	add	edi,1
_3707:
	cmp	edi,dword [ebp-8]
	jle	_67
_66:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp-16]
	mov	eax,dword [edx+eax*4+24]
	push	dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+136]
	add	esp,8
	add	dword [ebp-16],1
_62:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+20]
	cmp	dword [ebp-16],eax
	jl	_64
_63:
	mov	eax,dword [ebp-24]
	jmp	_1971
_1971:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_scale:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_3716
_70:
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+152]
	add	esp,8
_68:
	add	ebx,1
_3716:
	cmp	ebx,edi
	jle	_70
_69:
	mov	eax,0
	jmp	_1975
_1975:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_setFilename:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+16],eax
	mov	eax,0
	jmp	_1979
_1979:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_getFilename:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_1982
_1982:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_setName:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+12],eax
	mov	eax,0
	jmp	_1986
_1986:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMesh_getName:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_1989
_1989:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	push	esi
	call	_bbObjectCtor
	add	esp,4
	mov	dword [esi],_c3d_cal3d_CalCoreBone
	mov	dword [esi+8],_bbEmptyString
	mov	dword [esi+12],_bbNullObject
	mov	dword [esi+16],0
	mov	dword [esi+20],_bbEmptyArray
	mov	dword [esi+24],_bbNullObject
	mov	dword [esi+28],_bbNullObject
	mov	dword [esi+32],_bbNullObject
	mov	dword [esi+36],_bbNullObject
	mov	dword [esi+40],_bbNullObject
	mov	dword [esi+44],_bbNullObject
	mov	dword [esi+48],_bbNullObject
	mov	dword [esi+52],_bbNullObject
	mov	dword [esi+56],_bbEmptyArray
	mov	byte [esi+60],0
	mov	dword [esi+8],_71
	mov	dword [esi+12],_bbNullObject
	mov	dword [esi+16],-1
	push	0
	push	_3719
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [esi+20],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [esi+24],eax
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	mov	dword [esi+28],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [esi+32],eax
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	mov	dword [esi+36],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [esi+40],eax
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	mov	dword [esi+44],eax
	mov	dword [esi+48],_bbNullObject
	push	_c3d_cal3d_CalBoundingBox
	call	_bbObjectNew
	add	esp,4
	mov	dword [esi+52],eax
	push	6
	push	_3720
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [esi+56],eax
	mov	edi,0
	jmp	_3722
_74:
	mov	ebx,dword [esi+56]
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+edi*4+24],eax
_72:
	add	edi,1
_3722:
	cmp	edi,5
	jle	_74
_73:
	mov	byte [esi+60],0
	mov	eax,0
	jmp	_1992
_1992:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_Create:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalCoreBone
	call	_bbObjectNew
	add	esp,4
	mov	dword [eax+8],ebx
	jmp	_1995
_1995:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_addChildId:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [esi+20]
	mov	edi,dword [eax+20]
	mov	eax,dword [esi+20]
	mov	eax,dword [eax+20]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+20]
	push	_601
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+20],eax
	mov	eax,dword [esi+20]
	mov	dword [eax+edi*4+24],ebx
	mov	byte [ebp-4],1
	jmp	_1999
_1999:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_calculateState:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	cmp	dword [esi+16],-1
	jne	_3725
	mov	eax,dword [esi+32]
	push	dword [esi+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [esi+36]
	push	dword [esi+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	jmp	_3728
_3725:
	mov	eax,dword [esi+12]
	push	dword [esi+16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	ebx,eax
	mov	eax,dword [esi+32]
	push	dword [esi+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	edi,dword [esi+32]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	push	eax
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+80]
	add	esp,8
	mov	edi,dword [esi+32]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	push	eax
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+68]
	add	esp,8
	mov	eax,dword [esi+36]
	push	dword [esi+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	edi,dword [esi+36]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	push	eax
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+60]
	add	esp,8
_3728:
	mov	ebx,0
	mov	eax,dword [esi+20]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_3740
_78:
	mov	edx,dword [esi+12]
	mov	eax,dword [esi+20]
	push	dword [eax+ebx*4+24]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+56]
	add	esp,8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
_76:
	add	ebx,1
_3740:
	cmp	ebx,edi
	jle	_78
_77:
	mov	eax,0
	jmp	_2002
_2002:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getListChildId:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	jmp	_2005
_2005:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getName:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2008
_2008:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getParentId:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_2011
_2011:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getCoreSkeleton:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_2014
_2014:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_GetRotation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+28]
	jmp	_2017
_2017:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getRotationAbsolute:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	jmp	_2020
_2020:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getRotationBoneSpace:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+44]
	jmp	_2023
_2023:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getTranslation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	jmp	_2026
_2026:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getTranslationAbsolute:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+32]
	jmp	_2029
_2029:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getTranslationBoneSpace:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	jmp	_2032
_2032:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getUserData:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+48]
	jmp	_2035
_2035:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_setCoreSkeleton:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+12],eax
	mov	eax,0
	jmp	_2039
_2039:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_setParentId:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+16],eax
	mov	eax,0
	jmp	_2043
_2043:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_SetRotation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+28]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,0
	jmp	_2047
_2047:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_setRotationBoneSpace:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+44]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,0
	jmp	_2051
_2051:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_setTranslation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+24]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,0
	jmp	_2055
_2055:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_setTranslationBoneSpace:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+40]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,0
	jmp	_2059
_2059:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_setUserData:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+48],eax
	mov	eax,0
	jmp	_2063
_2063:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_calculateBoundingBox:
	push	ebp
	mov	ebp,esp
	sub	esp,40
	push	ebx
	push	esi
	push	edi
	mov	byte [ebp-4],0
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+12]
	mov	eax,dword [ebp+8]
	push	dword [eax+8]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,8
	mov	dword [ebp-16],eax
	mov	byte [ebp-4],0
	mov	eax,dword [ebp+8]
	push	dword [eax+44]
	call	dword [_c3d_cal3d_CalQuaternion+48]
	add	esp,4
	mov	esi,eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+84]
	add	esp,4
	push	0
	push	0
	push	1065353216
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	mov	ebx,eax
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	0
	push	0
	push	-1082130432
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+4+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	0
	push	1065353216
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+8+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	0
	push	-1082130432
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+12+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	1065353216
	push	0
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+16+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	-1082130432
	push	0
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+20+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+176]
	add	esp,4
	mov	dword [ebp-36],0
	sub	eax,1
	mov	dword [ebp-40],eax
	jmp	_3774
_81:
	mov	eax,dword [ebp+12]
	push	dword [ebp-36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+172]
	add	esp,8
	mov	dword [ebp-28],eax
	mov	eax,dword [ebp-28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	dword [ebp-24],0
	sub	eax,1
	mov	dword [ebp-32],eax
	jmp	_3781
_84:
	mov	eax,dword [ebp-28]
	push	dword [ebp-24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	ebx,eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	cmp	eax,0
	jne	_3786
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,4
	mov	edi,eax
	mov	esi,0
	mov	eax,dword [edi+20]
	sub	eax,1
	mov	dword [ebp-20],eax
	jmp	_3790
_87:
	mov	eax,dword [edi+esi*4+24]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+20]
	mov	dword [ebp-8],0
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_3794
_90:
	mov	eax,dword [edi+esi*4+24]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-8]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax+8]
	cmp	eax,dword [ebp-16]
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_3796
	mov	eax,dword [edi+esi*4+24]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-8]
	mov	eax,dword [edx+eax*4+24]
	fld	dword [eax+12]
	fld	dword [_6462]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_3796:
	cmp	eax,0
	je	_3798
	mov	ebx,0
	jmp	_3800
_93:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+8]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [edi+esi*4+24]
	push	dword [eax+8]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+48]
	add	esp,8
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_3802
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+8]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [edi+esi*4+24]
	push	dword [eax+8]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+56]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [edi+esi*4+24]
	push	dword [eax+8]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,8
	mov	byte [ebp-4],1
_3802:
_91:
	add	ebx,1
_3800:
	cmp	ebx,5
	jle	_93
_92:
_3798:
_88:
	add	dword [ebp-8],1
_3794:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-8],eax
	jle	_90
_89:
_85:
	add	esi,1
_3790:
	cmp	esi,dword [ebp-20]
	jle	_87
_86:
_3786:
_82:
	add	dword [ebp-24],1
_3781:
	mov	eax,dword [ebp-32]
	cmp	dword [ebp-24],eax
	jle	_84
_83:
_79:
	add	dword [ebp-36],1
_3774:
	mov	eax,dword [ebp-40]
	cmp	dword [ebp-36],eax
	jle	_81
_80:
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,0
	jne	_3805
	mov	ebx,0
	jmp	_3806
_96:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	mov	eax,dword [eax+8]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [ebp+8]
	push	dword [eax+24]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+56]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [ebp+8]
	push	dword [eax+24]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,8
_94:
	add	ebx,1
_3806:
	cmp	ebx,5
	jle	_96
_95:
_3805:
	mov	eax,dword [ebp+8]
	mov	byte [eax+60],1
	mov	eax,0
	jmp	_2067
_2067:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getBoundingBox:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	jmp	_2070
_2070:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_getBoundingData:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	cmp	ebx,_bbNullObject
	jne	_3809
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
_3809:
	mov	eax,ebx
	mov	edx,dword [esi+56]
	push	dword [edx+edi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,ebx
	jmp	_2075
_2075:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_isBoundingBoxPrecomputed:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	movzx	eax,byte [eax+60]
	mov	eax,eax
	mov	byte [ebp-4],al
	jmp	_2078
_2078:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreBone_scale:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,dword [edi+24]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
	mov	eax,dword [edi+32]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
	mov	eax,dword [edi+40]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
	mov	esi,0
	mov	eax,dword [edi+20]
	mov	eax,dword [eax+20]
	mov	dword [ebp-4],eax
	jmp	_3815
_99:
	mov	ebx,dword [edi+12]
	mov	eax,dword [edi+20]
	push	dword [eax+esi*4+24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,8
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,8
_97:
	add	esi,1
_3815:
	cmp	esi,dword [ebp-4]
	jle	_99
_98:
	mov	eax,0
	jmp	_2082
_2082:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCoreSkeleton
	mov	dword [ebx+8],_bbEmptyArray
	mov	dword [ebx+12],_bbNullObject
	mov	dword [ebx+16],_bbEmptyArray
	push	0
	push	_3819
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+8],eax
	push	_c3d_cal3d_StringMap
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+12],eax
	push	0
	push	_3820
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+16],eax
	mov	eax,0
	jmp	_2085
_2085:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_addCoreBone:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	eax,dword [esi+8]
	mov	ebx,dword [eax+20]
	push	ebx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_100
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,ebx
	add	eax,1
	push	eax
	push	0
	push	dword [esi+8]
	push	_1115
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+8],eax
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+ebx*4+24],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	cmp	eax,-1
	jne	_3823
	mov	eax,dword [esi+16]
	mov	edi,dword [eax+20]
	mov	eax,edi
	add	eax,1
	push	eax
	push	0
	push	dword [esi+16]
	push	_601
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+16],eax
	mov	eax,dword [esi+16]
	mov	dword [eax+edi*4+24],ebx
_3823:
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	push	ebx
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,12
	mov	eax,ebx
	jmp	_2089
_2089:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_calculateState:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_3828
_103:
	mov	eax,dword [esi+8]
	mov	edx,dword [esi+16]
	mov	edx,dword [edx+ebx*4+24]
	mov	eax,dword [eax+edx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
_101:
	add	ebx,1
_3828:
	cmp	ebx,edi
	jle	_103
_102:
	mov	eax,0
	jmp	_2092
_2092:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_getCoreBonebyID:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3831
	mov	eax,dword [ecx+8]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_3831:
	cmp	eax,0
	je	_3833
	push	edx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_104
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_2096
_3833:
	mov	eax,dword [ecx+8]
	mov	eax,dword [eax+edx*4+24]
	jmp	_2096
_2096:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_getCoreBone:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	ebx
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+64]
	add	esp,8
	mov	edx,eax
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3836
	mov	eax,dword [esi+8]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_3836:
	cmp	eax,0
	je	_3838
	push	ebx
	push	_104
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_2100
_3838:
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+edx*4+24]
	jmp	_2100
_2100:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_getCoreBoneId:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [esi+12]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,eax
	cmp	eax,1
	jne	_3840
	mov	eax,dword [esi+12]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	push	eax
	call	_bbStringToInt
	add	esp,4
	jmp	_2104
_3840:
	mov	eax,-1
	jmp	_2104
_2104:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_mapCoreBoneName:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	esi,dword [ebp+16]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3843
	mov	eax,dword [ecx+8]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_3843:
	cmp	eax,0
	je	_3845
	mov	byte [ebp-4],0
	jmp	_2109
_3845:
	mov	ebx,dword [ecx+12]
	push	edx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,12
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	jmp	_2109
_2109:
	movzx	eax,byte [ebp-4]
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_getVectorRootCoreBoneId:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_2112
_2112:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_getVectorCoreBone:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2115
_2115:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_calculateBoundingBoxes:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_3848
_107:
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+132]
	add	esp,8
_105:
	add	ebx,1
_3848:
	cmp	ebx,edi
	jle	_107
_106:
	mov	eax,0
	jmp	_2119
_2119:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSkeleton_scale:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	dword [ebp-4],0
	mov	ebx,0
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_3852
_110:
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-4]
	mov	eax,dword [edx+eax*4+24]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,8
_108:
	add	ebx,1
_3852:
	cmp	ebx,edi
	jle	_110
_109:
	mov	eax,0
	jmp	_2123
_2123:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	esi,0
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCoreModel
	mov	dword [ebx+8],_bbEmptyString
	mov	dword [ebx+12],_bbNullObject
	mov	dword [ebx+16],_bbEmptyArray
	mov	dword [ebx+20],_bbEmptyArray
	mov	dword [ebx+24],_bbEmptyArray
	mov	dword [ebx+28],_bbEmptyArray
	mov	dword [ebx+32],_bbEmptyArray
	mov	dword [ebx+36],_bbNullObject
	mov	dword [ebx+40],_bbNullObject
	mov	dword [ebx+44],_bbNullObject
	mov	dword [ebx+48],_bbNullObject
	mov	dword [ebx+52],_bbNullObject
	push	esi
	call	_bbStringFromInt
	add	esp,4
	mov	dword [ebx+8],eax
	mov	dword [ebx+12],_bbNullObject
	push	0
	push	_3857
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+16],eax
	push	0
	push	_3858
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+20],eax
	push	0
	push	_3859
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+24],eax
	push	0
	push	_3860
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+28],eax
	push	0
	push	_3861
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+32],eax
	push	_c3d_cal3d_IntMap
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+36],eax
	push	_c3d_cal3d_StringMap
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+40],eax
	push	_c3d_cal3d_StringMap
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+44],eax
	push	_c3d_cal3d_StringMap
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+48],eax
	mov	eax,0
	jmp	_2126
_2126:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getUserData:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	jmp	_2129
_2129:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_setUserData:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+52],eax
	mov	eax,0
	jmp	_2133
_2133:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_scale:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,dword [edi+12]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,8
	mov	esi,0
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	ebx,eax
	jmp	_3864
_114:
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+esi*4+24]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
_112:
	add	esi,1
_3864:
	cmp	esi,ebx
	jle	_114
_113:
	mov	esi,0
	mov	eax,dword [edi+28]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	ebx,eax
	jmp	_3868
_117:
	mov	eax,dword [edi+28]
	mov	eax,dword [eax+esi*4+24]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
_115:
	add	esi,1
_3868:
	cmp	esi,ebx
	jle	_117
_116:
	mov	eax,0
	jmp	_2137
_2137:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_addCoreAnimation:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+16]
	mov	ebx,dword [eax+20]
	mov	eax,ebx
	add	eax,1
	push	eax
	push	0
	push	dword [esi+16]
	push	_1202
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+16],eax
	mov	eax,dword [esi+16]
	mov	dword [eax+ebx*4+24],edi
	mov	eax,ebx
	jmp	_2141
_2141:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreAnimation:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3872
	mov	eax,dword [ecx+16]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_3872:
	cmp	eax,0
	je	_3874
	push	_118
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_2145
_3874:
	mov	eax,dword [ecx+16]
	mov	eax,dword [eax+edx*4+24]
	jmp	_2145
_2145:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreAnimationCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+20]
	jmp	_2148
_2148:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_loadCoreAnimation:
	push	ebp
	mov	ebp,esp
	push	_119
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2152
_2152:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_unloadCoreAnimationbyID:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3875
	mov	eax,dword [ecx+16]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_3875:
	cmp	eax,0
	je	_3877
	push	_118
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2156
_3877:
	mov	eax,dword [ecx+16]
	mov	dword [eax+edx*4+24],_bbNullObject
	mov	eax,edx
	jmp	_2156
_2156:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_unloadCoreAnimation:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+92]
	add	esp,8
	mov	edx,eax
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3880
	mov	eax,dword [ebx+16]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_3880:
	cmp	eax,0
	je	_3882
	push	_118
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2160
_3882:
	mov	eax,dword [ebx+16]
	mov	dword [eax+edx*4+24],_bbNullObject
	mov	eax,edx
	jmp	_2160
_2160:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_saveCoreAnimation:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	_120
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_2165
_2165:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_addAnimationName:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3883
	mov	eax,dword [esi+16]
	cmp	ebx,dword [eax+20]
	setge	al
	movzx	eax,al
_3883:
	cmp	eax,0
	je	_3885
	push	_118
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_2170
_3885:
	mov	eax,dword [esi+16]
	mov	eax,dword [eax+ebx*4+24]
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
	mov	esi,dword [esi+40]
	push	ebx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	edi
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,12
	mov	byte [ebp-4],1
	jmp	_2170
_2170:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreAnimationId:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [esi+40]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,eax
	cmp	eax,1
	jne	_3889
	mov	eax,dword [esi+40]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	push	eax
	call	_bbStringToInt
	add	esp,4
	jmp	_2174
_3889:
	mov	eax,-1
	jmp	_2174
_2174:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_addCoreMorphAnimation:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+20]
	mov	ebx,dword [eax+20]
	mov	eax,ebx
	add	eax,1
	push	eax
	push	0
	push	dword [esi+20]
	push	_3893
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+20],eax
	mov	eax,dword [esi+20]
	mov	dword [eax+ebx*4+24],edi
	mov	eax,ebx
	jmp	_2178
_2178:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_addCoreAnimatedMorph:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+24]
	mov	ebx,dword [eax+20]
	mov	ecx,0
	mov	eax,ebx
	sub	eax,1
	mov	edx,eax
	jmp	_3896
_123:
	mov	eax,dword [esi+24]
	cmp	dword [eax+ecx*4+24],_bbNullObject
	jne	_3898
	mov	eax,dword [esi+24]
	mov	dword [eax+ecx*4+24],edi
	mov	eax,ecx
	jmp	_2182
_3898:
_121:
	add	ecx,1
_3896:
	cmp	ecx,edx
	jle	_123
_122:
	mov	eax,ebx
	add	eax,1
	push	eax
	push	0
	push	dword [esi+24]
	push	_3899
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+24],eax
	mov	eax,dword [esi+24]
	mov	dword [eax+ebx*4+24],edi
	mov	eax,ebx
	jmp	_2182
_2182:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_removeCoreAnimatedMorph:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [ecx+24]
	mov	eax,dword [eax+20]
	cmp	edx,eax
	setge	al
	movzx	eax,al
	cmp	eax,0
	jne	_3901
	cmp	edx,0
	setl	al
	movzx	eax,al
_3901:
	cmp	eax,0
	je	_3903
	mov	byte [ebp-4],0
	jmp	_2186
_3903:
	mov	eax,dword [ecx+24]
	cmp	dword [eax+edx*4+24],_bbNullObject
	jne	_3904
	mov	byte [ebp-4],0
	jmp	_2186
_3904:
	mov	eax,dword [ecx+24]
	mov	dword [eax+edx*4+24],_bbNullObject
	mov	byte [ebp-4],1
	jmp	_2186
_2186:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreMorphAnimation:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3905
	mov	eax,dword [ecx+20]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_3905:
	cmp	eax,0
	je	_3907
	push	_124
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_2190
_3907:
	mov	eax,dword [ecx+20]
	mov	eax,dword [eax+edx*4+24]
	jmp	_2190
_2190:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreAnimatedMorph:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3908
	mov	eax,dword [ecx+24]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_3908:
	cmp	eax,0
	jne	_3910
	mov	eax,dword [ecx+24]
	mov	eax,dword [eax+edx*4+24]
	cmp	eax,_bbNullObject
	sete	al
	movzx	eax,al
_3910:
	cmp	eax,0
	je	_3912
	mov	eax,_bbNullObject
	jmp	_2194
_3912:
	mov	eax,dword [ecx+24]
	mov	eax,dword [eax+edx*4+24]
	jmp	_2194
_2194:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreMorphAnimationCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	mov	eax,dword [eax+20]
	jmp	_2197
_2197:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_addCoreMaterial:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+32]
	mov	ebx,dword [eax+20]
	mov	eax,ebx
	add	eax,1
	push	eax
	push	0
	push	dword [esi+32]
	push	_3914
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+32],eax
	mov	eax,dword [esi+32]
	mov	dword [eax+ebx*4+24],edi
	mov	eax,ebx
	jmp	_2201
_2201:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_createCoreMaterialThread:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	ebx,dword [eax+36]
	push	_c3d_cal3d_IntMap
	call	_bbObjectNew
	add	esp,4
	push	eax
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	byte [ebp-4],1
	jmp	_2205
_2205:
	movzx	eax,byte [ebp-4]
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreMaterial:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3916
	mov	eax,dword [ecx+32]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_3916:
	cmp	eax,0
	je	_3918
	push	_125
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_2209
_3918:
	mov	eax,dword [ecx+32]
	mov	eax,dword [eax+edx*4+24]
	jmp	_2209
_2209:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreMaterialCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+32]
	mov	eax,dword [eax+20]
	jmp	_2212
_2212:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreMaterialId:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [esi+44]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,eax
	cmp	eax,1
	jne	_3920
	mov	eax,dword [esi+44]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	push	eax
	call	_bbStringToInt
	add	esp,4
	jmp	_2216
_3920:
	mov	eax,-1
	jmp	_2216
_2216:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreMaterialIdbyID:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+16]
	mov	eax,dword [esi+36]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,eax
	cmp	eax,1
	jne	_3924
	mov	eax,dword [esi+36]
	push	_c3d_cal3d_IntMap
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	push	edi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,8
	mov	eax,eax
	cmp	eax,1
	jne	_3928
	push	edi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+24]
	add	esp,4
	push	eax
	call	_bbStringToInt
	add	esp,4
	jmp	_2221
_3928:
	mov	eax,-1
	jmp	_2221
_3924:
	mov	eax,-1
	jmp	_2221
_2221:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_loadCoreMaterial:
	push	ebp
	mov	ebp,esp
	push	_126
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2225
_2225:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_unloadCoreMaterialbyID:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3933
	mov	eax,dword [ecx+32]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_3933:
	cmp	eax,0
	je	_3935
	push	_125
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2229
_3935:
	mov	eax,dword [ecx+32]
	mov	dword [eax+edx*4+24],_bbNullObject
	mov	eax,edx
	jmp	_2229
_2229:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_unloadCoreMaterial:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+136]
	add	esp,8
	mov	edx,eax
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3938
	mov	eax,dword [ebx+32]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_3938:
	cmp	eax,0
	je	_3940
	push	_125
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2233
_3940:
	mov	eax,dword [ebx+32]
	mov	dword [eax+edx*4+24],_bbNullObject
	mov	eax,edx
	jmp	_2233
_2233:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_saveCoreMaterial:
	push	ebp
	mov	ebp,esp
	push	_127
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2238
_2238:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_setCoreMaterialId:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+20]
	mov	eax,dword [esi+36]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,eax
	cmp	eax,1
	jne	_3942
	mov	eax,dword [esi+36]
	push	_c3d_cal3d_IntMap
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	push	edi
	call	_bbHandleToObject
	add	esp,4
	push	eax
	push	dword [ebp+16]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	jmp	_2244
_3942:
	mov	byte [ebp-4],0
	jmp	_2244
_2244:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_addMaterialName:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3947
	mov	eax,dword [esi+32]
	cmp	ebx,dword [eax+20]
	setge	al
	movzx	eax,al
_3947:
	cmp	eax,0
	je	_3949
	push	_125
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_2249
_3949:
	mov	eax,dword [esi+32]
	mov	eax,dword [eax+ebx*4+24]
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,8
	mov	esi,dword [esi+44]
	push	ebx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	edi
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,12
	mov	byte [ebp-4],1
	jmp	_2249
_2249:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_addCoreMesh:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+28]
	mov	ebx,dword [eax+20]
	mov	eax,ebx
	add	eax,1
	push	eax
	push	0
	push	dword [esi+28]
	push	_1099
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+28],eax
	mov	eax,dword [esi+28]
	mov	dword [eax+ebx*4+24],edi
	mov	eax,ebx
	jmp	_2253
_2253:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreMesh:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3953
	mov	eax,dword [ecx+28]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_3953:
	cmp	eax,0
	je	_3955
	push	_128
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_2257
_3955:
	mov	eax,dword [ecx+28]
	mov	eax,dword [eax+edx*4+24]
	jmp	_2257
_2257:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreMeshCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+20]
	jmp	_2260
_2260:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_loadCoreMesh:
	push	ebp
	mov	ebp,esp
	push	_129
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2264
_2264:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_unloadCoreMeshbyID:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3956
	mov	eax,dword [ecx+28]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_3956:
	cmp	eax,0
	je	_3958
	push	_128
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2268
_3958:
	mov	eax,dword [ecx+28]
	mov	dword [eax+edx*4+24],_bbNullObject
	mov	eax,edx
	jmp	_2268
_2268:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_unloadCoreMesh:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+200]
	add	esp,8
	mov	edx,eax
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3961
	mov	eax,dword [ebx+28]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_3961:
	cmp	eax,0
	je	_3963
	push	_128
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2272
_3963:
	mov	eax,dword [ebx+28]
	mov	dword [eax+edx*4+24],_bbNullObject
	mov	eax,edx
	jmp	_2272
_2272:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_saveCoreMesh:
	push	ebp
	mov	ebp,esp
	push	_130
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2277
_2277:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_addMeshName:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_3964
	mov	eax,dword [esi+28]
	cmp	ebx,dword [eax+20]
	setge	al
	movzx	eax,al
_3964:
	cmp	eax,0
	je	_3966
	push	_128
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_2282
_3966:
	mov	eax,dword [esi+28]
	mov	eax,dword [eax+ebx*4+24]
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,8
	mov	esi,dword [esi+48]
	push	ebx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	edi
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,12
	mov	byte [ebp-4],1
	jmp	_2282
_2282:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreMeshId:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [esi+48]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,eax
	cmp	eax,1
	jne	_3970
	mov	eax,dword [esi+48]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	push	eax
	call	_bbStringToInt
	add	esp,4
	jmp	_2286
_3970:
	mov	eax,-1
	jmp	_2286
_2286:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_makemodel:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	call	dword [_c3d_cal3d_CalModel+48]
	add	esp,4
	jmp	_2289
_2289:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getCoreSkeleton:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_2292
_2292:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_loadCoreSkeleton:
	push	ebp
	mov	ebp,esp
	push	_131
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_2296
_2296:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_saveCoreSkeleton:
	push	ebp
	mov	ebp,esp
	push	_132
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,0
	jmp	_2300
_2300:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_setCoreSkeleton:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	cmp	eax,_bbNullObject
	je	_3973
	mov	dword [edx+12],eax
	jmp	_3974
_3973:
	push	_133
	call	_brl_blitz_DebugLog
	add	esp,4
_3974:
	mov	eax,0
	jmp	_2304
_2304:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_addBoneName:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	cmp	dword [eax+12],_bbNullObject
	je	_3975
	mov	eax,dword [eax+12]
	push	ecx
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,12
_3975:
	mov	eax,0
	jmp	_2309
_2309:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreModel_getBoneId:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	dword [eax+12],_bbNullObject
	je	_3977
	mov	eax,dword [eax+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	jmp	_3979
_3977:
	mov	eax,-1
	jmp	_2313
_3979:
	mov	eax,0
	jmp	_2313
_2313:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCoreAnimation
	mov	dword [ebx+8],_bbEmptyArray
	fldz
	fstp	dword [ebx+12]
	mov	dword [ebx+16],_bbEmptyArray
	mov	dword [ebx+20],_bbEmptyString
	mov	dword [ebx+24],_bbEmptyString
	push	0
	push	_3980
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+8],eax
	fldz
	fstp	dword [ebx+12]
	push	0
	push	_3981
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+16],eax
	mov	dword [ebx+20],_134
	mov	dword [ebx+24],_23
	mov	eax,0
	jmp	_2316
_2316:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_addCoreTrack:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+16]
	mov	ebx,dword [eax+20]
	mov	eax,ebx
	add	eax,1
	push	eax
	push	0
	push	dword [esi+16]
	push	_3983
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+16],eax
	mov	eax,dword [esi+16]
	mov	dword [eax+ebx*4+24],edi
	mov	byte [ebp-4],1
	jmp	_2320
_2320:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_getCoreTrack:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,0
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_3985
_137:
	mov	eax,dword [edi+16]
	mov	ebx,dword [eax+esi*4+24]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	cmp	eax,dword [ebp+12]
	jne	_3989
	mov	eax,ebx
	jmp	_2324
_3989:
_135:
	add	esi,1
_3985:
	cmp	esi,dword [ebp-4]
	jle	_137
_136:
	mov	eax,_bbNullObject
	jmp	_2324
_2324:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_getDuration:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+12]
	jmp	_2327
_2327:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_setDuration:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+12]
	mov	eax,0
	jmp	_2331
_2331:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_scale:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_3991
_140:
	mov	eax,dword [esi+16]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,8
_138:
	add	ebx,1
_3991:
	cmp	ebx,edi
	jle	_140
_139:
	mov	eax,0
	jmp	_2335
_2335:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_setFilename:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+24],eax
	mov	eax,0
	jmp	_2339
_2339:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_getFilename:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	jmp	_2342
_2342:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_setName:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+20],eax
	mov	eax,0
	jmp	_2346
_2346:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_getName:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	jmp	_2349
_2349:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_registerCallback:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	push	_c3d_cal3d_CalCallbackRecord
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	dword [ebx+8],edi
	fld	dword [ebp+16]
	fstp	dword [ebx+12]
	mov	eax,dword [esi+8]
	mov	edi,dword [eax+20]
	mov	eax,edi
	add	eax,1
	push	eax
	push	0
	push	dword [esi+8]
	push	_3996
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+8],eax
	mov	eax,dword [esi+8]
	mov	dword [eax+edi*4+24],ebx
	mov	eax,0
	jmp	_2354
_2354:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_removeCallback:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+20]
	sub	eax,1
	push	eax
	push	_3997
	call	_bbArrayNew1D
	add	esp,8
	mov	edi,eax
	mov	esi,0
	mov	ecx,0
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_4001
_143:
	mov	eax,dword [ebx+8]
	mov	edx,dword [eax+ecx*4+24]
	mov	eax,dword [ebp+12]
	cmp	dword [edx+8],eax
	je	_4003
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+ecx*4+24]
	mov	dword [edi+esi*4+24],eax
	add	esi,1
_4003:
_141:
	add	ecx,1
_4001:
	cmp	ecx,dword [ebp-4]
	jle	_143
_142:
	mov	dword [ebx+8],edi
	mov	eax,0
	jmp	_2358
_2358:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_getCallbackList:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2361
_2361:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_getTrackCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+20]
	jmp	_2364
_2364:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_getListCoreTrack:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_2367
_2367:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimation_getTotalNumberOfKeyframes:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,0
	mov	ebx,0
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_4006
_146:
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	add	esi,eax
_144:
	add	ebx,1
_4006:
	cmp	ebx,dword [ebp-4]
	jle	_146
_145:
	mov	eax,esi
	jmp	_2370
_2370:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCallbackRecord_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCallbackRecord
	mov	dword [ebx+8],_bbNullObject
	fldz
	fstp	dword [ebx+12]
	push	_c3d_cal3d_CalAnimationCallback
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+8],eax
	fldz
	fstp	dword [ebx+12]
	mov	eax,0
	jmp	_2373
_2373:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCallbackRecord_FromCallback:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalCallbackRecord
	call	_bbObjectNew
	add	esp,4
	mov	dword [eax+8],ebx
	fld	dword [ebp+12]
	fstp	dword [eax+12]
	jmp	_2377
_2377:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreKeyframe_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCoreKeyframe
	fldz
	fstp	dword [ebx+8]
	mov	dword [ebx+12],_bbNullObject
	mov	dword [ebx+16],_bbNullObject
	fldz
	fstp	dword [ebx+8]
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+12],eax
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+16],eax
	mov	eax,0
	jmp	_2380
_2380:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreKeyframe_FromData:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+12]
	mov	edi,dword [ebp+16]
	push	_c3d_cal3d_CalCoreKeyframe
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	fld	dword [ebp+8]
	fstp	dword [ebx+8]
	push	esi
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	mov	dword [ebx+12],eax
	push	edi
	call	dword [_c3d_cal3d_CalQuaternion+48]
	add	esp,4
	mov	dword [ebx+16],eax
	mov	eax,ebx
	jmp	_2385
_2385:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreKeyframe_Create:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	byte [ebp-4],1
	jmp	_2388
_2388:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreKeyframe_destroy:
	push	ebp
	mov	ebp,esp
	mov	eax,0
	jmp	_2391
_2391:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreKeyframe_GetRotation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_2394
_2394:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreKeyframe_getTranslation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_2397
_2397:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreKeyframe_getTime:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+8]
	jmp	_2400
_2400:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreKeyframe_SetRotation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+16]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	eax,0
	jmp	_2404
_2404:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreKeyframe_setTranslation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,0
	jmp	_2408
_2408:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreKeyframe_setTime:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+8]
	mov	eax,0
	jmp	_2412
_2412:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCoreTrack
	mov	dword [ebx+8],0
	mov	dword [ebx+12],_bbEmptyArray
	mov	dword [ebx+8],-1
	push	0
	push	_4014
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+12],eax
	mov	eax,0
	jmp	_2415
_2415:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_Create:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	byte [ebp-4],1
	jmp	_2418
_2418:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_destroy:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	0
	push	_4015
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+12],eax
	mov	eax,0
	jmp	_2421
_2421:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_getState:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,edi
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,8
	mov	ebx,eax
	mov	eax,dword [edi+12]
	cmp	ebx,dword [eax+20]
	jne	_4019
	sub	ebx,1
	mov	esi,dword [ebp+20]
	mov	eax,dword [edi+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+56]
	add	esp,8
	mov	esi,dword [ebp+16]
	mov	eax,dword [edi+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+64]
	add	esp,8
	mov	byte [ebp-4],1
	jmp	_2427
_4019:
	cmp	ebx,0
	jne	_4024
	mov	esi,dword [ebp+20]
	mov	eax,dword [edi+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+56]
	add	esp,8
	mov	esi,dword [ebp+16]
	mov	eax,dword [edi+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+64]
	add	esp,8
	mov	byte [ebp-4],1
	jmp	_2427
_4024:
	mov	eax,ebx
	sub	eax,1
	mov	edx,dword [edi+12]
	mov	esi,dword [edx+eax*4+24]
	mov	eax,dword [edi+12]
	mov	edi,dword [eax+ebx*4+24]
	mov	eax,esi
	mov	ebx,edi
	fld	dword [ebp+12]
	fstp	dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	fld	dword [ebp-12]
	fsubrp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebp-12]
	fstp	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,4
	fstp	dword [ebp-16]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,4
	fld	dword [ebp-16]
	fsubrp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [ebp-8]
	fdiv	dword [ebp-16]
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	fstp	dword [ebp-20]
	mov	ebx,dword [ebp+16]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,8
	mov	ebx,dword [ebp+16]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	push	dword [ebp-20]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,12
	mov	ebx,dword [ebp+20]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,8
	mov	ebx,dword [ebp+20]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	eax
	push	dword [ebp-20]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,12
	mov	byte [ebp-4],1
	jmp	_2427
_2427:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_getCoreBoneId:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2430
_2430:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_setCoreBoneId:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	cmp	eax,0
	jge	_4043
	mov	byte [ebp-4],0
	jmp	_2434
_4043:
	mov	dword [edx+8],eax
	mov	byte [ebp-4],1
	jmp	_2434
_2434:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_getCoreKeyframeCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+20]
	jmp	_2437
_2437:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_getCoreKeyframe:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+edx*4+24]
	jmp	_2441
_2441:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_addCoreKeyframe:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [edi+12]
	mov	eax,dword [eax+20]
	add	eax,1
	push	eax
	push	0
	push	dword [edi+12]
	push	_4044
	call	_bbArraySlice
	add	esp,16
	mov	dword [edi+12],eax
	mov	edx,dword [edi+12]
	mov	eax,dword [edi+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [edx+eax*4+24],ebx
	mov	eax,dword [edi+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	ebx,eax
	jmp	_147
_149:
	mov	eax,dword [edi+12]
	mov	esi,dword [eax+ebx*4+24]
	mov	ecx,dword [edi+12]
	mov	edx,dword [edi+12]
	mov	eax,ebx
	sub	eax,1
	mov	eax,dword [edx+eax*4+24]
	mov	dword [ecx+ebx*4+24],eax
	mov	edx,dword [edi+12]
	mov	eax,ebx
	sub	eax,1
	mov	dword [edx+eax*4+24],esi
	sub	ebx,1
_147:
	cmp	ebx,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_4048
	mov	eax,dword [edi+12]
	mov	eax,dword [eax+ebx*4+24]
	mov	ecx,dword [edi+12]
	mov	edx,ebx
	sub	edx,1
	mov	esi,dword [ecx+edx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	fstp	dword [ebp-8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,4
	fld	dword [ebp-8]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_4048:
	cmp	eax,0
	jne	_149
_148:
	mov	byte [ebp-4],1
	jmp	_2445
_2445:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_removeCoreKeyFrame:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,dword [edi+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	push	eax
	push	_4051
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	mov	ecx,0
	mov	edx,0
	mov	eax,dword [edi+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	jmp	_4055
_152:
	cmp	edx,dword [ebp+12]
	je	_4057
	mov	esi,dword [edi+12]
	mov	esi,dword [esi+edx*4+24]
	mov	dword [ebx+ecx*4+24],esi
	add	ecx,1
_4057:
_150:
	add	edx,1
_4055:
	cmp	edx,eax
	jle	_152
_151:
	mov	dword [edi+12],ebx
	mov	eax,0
	jmp	_2449
_2449:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_scale:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_4059
_155:
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
_153:
	add	ebx,1
_4059:
	cmp	ebx,edi
	jle	_155
_154:
	mov	eax,0
	jmp	_2453
_2453:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreTrack_getUpperBound:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	esi,eax
	jmp	_156
_158:
	mov	eax,edi
	add	eax,esi
	shr	eax,1
	mov	ebx,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_4067
	mov	edi,ebx
	jmp	_4068
_4067:
	mov	esi,ebx
_4068:
_156:
	mov	eax,esi
	sub	eax,1
	cmp	edi,eax
	jl	_158
_157:
	mov	eax,esi
	jmp	_2457
_2457:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphTrack_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCoreMorphTrack
	mov	dword [ebx+8],_bbEmptyString
	mov	dword [ebx+12],_bbEmptyArray
	mov	dword [ebx+16],_bbEmptyArray
	mov	dword [ebx+8],_159
	push	0
	push	0
	push	dword [ebx+12]
	push	_4069
	call	_bbArraySlice
	add	esp,16
	mov	dword [ebx+12],eax
	push	0
	push	0
	push	dword [ebx+16]
	push	_4069
	call	_bbArraySlice
	add	esp,16
	mov	dword [ebx+16],eax
	mov	eax,0
	jmp	_2460
_2460:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphTrack_Build:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalCoreMorphTrack
	call	_bbObjectNew
	add	esp,4
	mov	dword [eax+8],ebx
	jmp	_2463
_2463:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphTrack_addCoreMorphKeyframe:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [edi+12]
	mov	eax,dword [eax+20]
	add	eax,1
	push	eax
	push	0
	push	dword [edi+12]
	push	_4069
	call	_bbArraySlice
	add	esp,16
	mov	dword [edi+12],eax
	mov	edx,dword [edi+12]
	mov	eax,dword [edi+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [edx+eax*4+24],ebx
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+20]
	add	eax,1
	push	eax
	push	0
	push	dword [edi+16]
	push	_4069
	call	_bbArraySlice
	add	esp,16
	mov	dword [edi+16],eax
	mov	edx,dword [edi+16]
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [edx+eax*4+24],ebx
	mov	eax,dword [edi+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	ebx,eax
	jmp	_160
_162:
	mov	eax,dword [edi+12]
	mov	esi,dword [eax+ebx*4+24]
	mov	edx,dword [edi+12]
	mov	eax,ebx
	sub	eax,1
	mov	ecx,dword [edx+eax*4+24]
	mov	edx,dword [edi+12]
	mov	eax,ebx
	sub	eax,1
	mov	dword [edx+eax*4+24],esi
	mov	eax,dword [edi+12]
	mov	dword [eax+ebx*4+24],ecx
	sub	ebx,1
_160:
	cmp	ebx,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_4074
	mov	eax,dword [edi+12]
	mov	eax,dword [eax+ebx*4+24]
	mov	ecx,dword [edi+12]
	mov	edx,ebx
	sub	edx,1
	mov	esi,dword [ecx+edx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	fstp	dword [ebp-8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,4
	fld	dword [ebp-8]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_4074:
	cmp	eax,0
	jne	_162
_161:
	mov	byte [ebp-4],1
	jmp	_2467
_2467:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphTrack_getState:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	fld	dword [ebp+12]
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,8
	mov	edx,eax
	mov	eax,dword [ebx+12]
	mov	eax,dword [eax+edx*4+24]
	mov	ecx,dword [ebx+12]
	mov	esi,dword [ebx+12]
	mov	esi,dword [esi+20]
	sub	esi,1
	cmp	eax,dword [ecx+esi*4+24]
	jne	_4081
	mov	edx,dword [ebx+12]
	mov	eax,dword [ebx+12]
	mov	eax,dword [eax+20]
	sub	eax,2
	mov	eax,dword [edx+eax*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	fstp	st0
	add	esp,4
	mov	byte [ebp-4],1
	jmp	_2472
_4081:
	mov	ecx,dword [ebx+12]
	cmp	eax,dword [ecx+24]
	jne	_4083
	mov	eax,dword [ebx+12]
	mov	eax,dword [eax+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	fstp	st0
	add	esp,4
	mov	byte [ebp-4],1
	jmp	_2472
_4083:
	mov	ecx,dword [ebx+12]
	sub	edx,1
	mov	edx,dword [ecx+edx*4+24]
	mov	ebx,edx
	mov	esi,eax
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	fstp	st0
	add	esp,4
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	fstp	st0
	add	esp,4
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	fstp	st0
	add	esp,4
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	fstp	st0
	add	esp,4
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	fstp	st0
	add	esp,4
	mov	byte [ebp-4],1
	jmp	_2472
_2472:
	movzx	eax,byte [ebp-4]
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphTrack_getUpperBound:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	esi,eax
	jmp	_163
_165:
	mov	eax,edi
	add	eax,esi
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	ebx,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_4099
	mov	edi,ebx
	jmp	_4100
_4099:
	mov	esi,ebx
_4100:
_163:
	mov	eax,esi
	sub	eax,1
	cmp	edi,eax
	jl	_165
_164:
	mov	eax,esi
	jmp	_2476
_2476:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphTrack_setMorphName:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+8],eax
	mov	eax,0
	jmp	_2480
_2480:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphTrack_getMorphName:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2483
_2483:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphTrack_getCoreMorphKeyframeCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+20]
	jmp	_2486
_2486:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphTrack_reserve:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	push	0
	push	dword [ebx+12]
	push	_4069
	call	_bbArraySlice
	add	esp,16
	mov	dword [ebx+12],eax
	mov	eax,0
	jmp	_2490
_2490:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphTrack_getCoreMorphKeyframe:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+edx*4+24]
	jmp	_2494
_2494:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphTrack_scale:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_4102
_168:
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	fmul	dword [ebp+12]
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+ebx*4+24]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
_166:
	add	ebx,1
_4102:
	cmp	ebx,edi
	jle	_168
_167:
	mov	eax,0
	jmp	_2498
_2498:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphTrack_getVectorCoreMorphKeyframes:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_2501
_2501:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphKeyframe_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCoreMorphKeyframe
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	mov	eax,0
	jmp	_2504
_2504:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphKeyframe_getTime:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+8]
	jmp	_2507
_2507:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphKeyframe_getWeight:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+12]
	jmp	_2510
_2510:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphKeyframe_setTime:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+8]
	mov	eax,0
	jmp	_2514
_2514:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphKeyframe_setWeight:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+12]
	mov	eax,0
	jmp	_2518
_2518:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphAnimation_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCoreMorphAnimation
	mov	dword [ebx+8],_bbEmptyArray
	mov	dword [ebx+12],_bbEmptyArray
	push	0
	push	_4107
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+8],eax
	push	0
	push	_4108
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+12],eax
	mov	eax,0
	jmp	_2521
_2521:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphAnimation_addMorphTarget:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+16]
	mov	eax,dword [esi+8]
	mov	eax,dword [eax+20]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+8]
	push	_601
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+8],eax
	mov	eax,dword [esi+8]
	mov	edx,dword [esi+8]
	mov	edx,dword [edx+20]
	sub	edx,1
	mov	dword [eax+edx*4+24],ebx
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+20]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+12]
	push	_601
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+12],eax
	mov	edx,dword [esi+12]
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [edx+eax*4+24],edi
	mov	byte [ebp-4],1
	jmp	_2526
_2526:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphAnimation_getVectorCoreMeshID:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2529
_2529:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreMorphAnimation_getVectorMorphTargetID:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_2532
_2532:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimatedMorph_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCoreAnimatedMorph
	fldz
	fstp	dword [ebx+8]
	mov	dword [ebx+12],_bbEmptyArray
	mov	dword [ebx+16],_bbEmptyArray
	push	0
	push	0
	push	dword [ebx+12]
	push	_4109
	call	_bbArraySlice
	add	esp,16
	mov	dword [ebx+12],eax
	push	0
	push	0
	push	dword [ebx+16]
	push	_4109
	call	_bbArraySlice
	add	esp,16
	mov	dword [ebx+16],eax
	mov	eax,0
	jmp	_2535
_2535:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimatedMorph_addCoreTrack:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+20]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+12]
	push	_4109
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+12],eax
	mov	edx,dword [esi+12]
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [edx+eax*4+24],ebx
	mov	eax,dword [esi+16]
	mov	eax,dword [eax+20]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+16]
	push	_4109
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+16],eax
	mov	edx,dword [esi+16]
	mov	eax,dword [esi+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [edx+eax*4+24],ebx
	mov	byte [ebp-4],1
	jmp	_2539
_2539:
	movzx	eax,byte [ebp-4]
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimatedMorph_removeZeroScaleTracks:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	byte [ebp-4],0
	mov	byte [ebp-4],1
	jmp	_169
_171:
	mov	byte [ebp-4],0
	mov	dword [ebp-12],0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-16],eax
	jmp	_4112
_174:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+12]
	mov	eax,dword [ebp-12]
	mov	eax,dword [edx+eax*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	esi,eax
	mov	dword [ebp-8],0
	mov	ebx,0
	mov	eax,dword [esi+20]
	sub	eax,1
	mov	edi,eax
	jmp	_4119
_177:
	mov	eax,dword [esi+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_4123
	mov	dword [ebp-8],1
	jmp	_176
_4123:
_175:
	add	ebx,1
_4119:
	cmp	ebx,edi
	jle	_177
_176:
	cmp	dword [ebp-8],0
	jne	_4124
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	push	eax
	push	_4125
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,0
	mov	ecx,0
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+12]
	mov	edx,dword [edx+20]
	sub	edx,1
	jmp	_4129
_180:
	cmp	ecx,dword [ebp-12]
	je	_4131
	mov	esi,dword [ebp+8]
	mov	esi,dword [esi+12]
	mov	esi,dword [esi+ecx*4+24]
	mov	dword [eax+ebx*4+24],esi
	add	ebx,1
_4131:
_178:
	add	ecx,1
_4129:
	cmp	ecx,edx
	jle	_180
_179:
	mov	edx,dword [ebp+8]
	mov	dword [edx+12],eax
	mov	byte [ebp-4],1
	jmp	_173
_4124:
_172:
	add	dword [ebp-12],1
_4112:
	mov	eax,dword [ebp-16]
	cmp	dword [ebp-12],eax
	jle	_174
_173:
_169:
	movzx	eax,byte [ebp-4]
	cmp	eax,0
	jne	_171
_170:
	mov	eax,0
	jmp	_2542
_2542:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimatedMorph_getCoreTrack:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	ebx,0
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_4133
_183:
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+ebx*4+24]
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	push	eax
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_4136
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+ebx*4+24]
	jmp	_2546
_4136:
_181:
	add	ebx,1
_4133:
	cmp	ebx,dword [ebp-4]
	jle	_183
_182:
	mov	eax,_bbNullObject
	jmp	_2546
_2546:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimatedMorph_getDuration:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+8]
	jmp	_2549
_2549:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimatedMorph_getListCoreTrack:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_2552
_2552:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimatedMorph_setDuration:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+8]
	mov	eax,0
	jmp	_2556
_2556:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreAnimatedMorph_scale:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_4138
_186:
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,8
_184:
	add	ebx,1
_4138:
	cmp	ebx,edi
	jle	_186
_185:
	mov	eax,0
	jmp	_2560
_2560:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubMorphTarget_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalCoreSubMorphTarget
	mov	dword [ebx+8],_bbEmptyArray
	mov	dword [ebx+12],_bbEmptyString
	push	0
	push	_4141
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+8],eax
	mov	dword [ebx+12],_159
	mov	eax,0
	jmp	_2563
_2563:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubMorphTarget_Create:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalCoreSubMorphTarget
	call	_bbObjectNew
	add	esp,4
	mov	dword [eax+12],ebx
	jmp	_2566
_2566:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubMorphTarget_getBlendVertexCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+20]
	jmp	_2569
_2569:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubMorphTarget_getVectorBlendVertex:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2572
_2572:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubMorphTarget_reserve:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	push	0
	push	dword [ebx+8]
	push	_4143
	call	_bbArraySlice
	add	esp,16
	mov	dword [ebx+8],eax
	mov	byte [ebp-4],1
	jmp	_2576
_2576:
	movzx	eax,byte [ebp-4]
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalCoreSubMorphTarget_setBlendVertex:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	cmp	ecx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4144
	mov	eax,dword [ebx+8]
	cmp	ecx,dword [eax+20]
	setge	al
	movzx	eax,al
_4144:
	cmp	eax,0
	je	_4146
	mov	byte [ebp-4],0
	jmp	_2581
_4146:
	mov	eax,dword [ebx+8]
	mov	dword [eax+ecx*4+24],edx
	mov	byte [ebp-4],1
	jmp	_2581
_2581:
	movzx	eax,byte [ebp-4]
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBlendVertex_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__c3d_cal3d_CalVertex_New
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalBlendVertex
	mov	eax,0
	jmp	_2584
_2584:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalSubmesh
	mov	dword [ebx+8],_bbNullObject
	mov	dword [ebx+12],_bbEmptyArray
	mov	dword [ebx+16],_bbEmptyArray
	mov	dword [ebx+20],_bbEmptyArray
	mov	dword [ebx+24],_bbEmptyArray
	mov	dword [ebx+28],_bbEmptyArray
	mov	dword [ebx+32],_bbEmptyArray
	mov	dword [ebx+36],0
	mov	dword [ebx+40],0
	mov	dword [ebx+44],0
	mov	byte [ebx+48],0
	mov	dword [ebx+8],_bbNullObject
	push	0
	push	_4147
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+12],eax
	push	0
	push	_4148
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+16],eax
	push	0
	push	_4149
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+20],eax
	push	0
	push	0
	push	0
	push	0
	push	dword [ebx+24]
	push	_3605
	call	_bbArraySlice
	add	esp,16
	push	eax
	push	_3605
	call	_bbArraySlice
	add	esp,16
	mov	dword [ebx+24],eax
	push	0
	push	_4150
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+28],eax
	push	0
	push	_4151
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+32],eax
	mov	dword [ebx+36],0
	mov	dword [ebx+40],0
	mov	dword [ebx+44],-1
	mov	byte [ebx+48],0
	mov	eax,0
	jmp	_2587
_2587:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_FromCore:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	push	_c3d_cal3d_CalSubmesh
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-4],eax
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp+8]
	mov	dword [edx+8],eax
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,4
	push	eax
	push	_4153
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,dword [ebp-4]
	mov	dword [edx+12],eax
	push	0
	push	_4155
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,dword [ebp-4]
	mov	dword [edx+16],eax
	push	0
	push	_4156
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,dword [ebp-4]
	mov	dword [edx+20],eax
	push	0
	push	0
	push	0
	push	0
	mov	eax,dword [ebp-4]
	push	dword [eax+24]
	push	_3605
	call	_bbArraySlice
	add	esp,16
	push	eax
	push	_3605
	call	_bbArraySlice
	add	esp,16
	mov	edx,dword [ebp-4]
	mov	dword [edx+24],eax
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	push	_4157
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,dword [ebp-4]
	mov	dword [edx+28],eax
	push	0
	push	_4159
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,dword [ebp-4]
	mov	dword [edx+32],eax
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+44],-1
	mov	eax,dword [ebp-4]
	mov	byte [eax+48],0
	mov	esi,0
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_4161
_189:
	mov	eax,dword [ebp-4]
	mov	ebx,dword [eax+28]
	push	_c3d_cal3d_CalFace
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+esi*4+24],eax
_187:
	add	esi,1
_4161:
	cmp	esi,edi
	jle	_189
_188:
	mov	eax,dword [ebp-4]
	push	1065353216
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,4
	mov	edx,0
	sub	eax,1
	jmp	_4167
_192:
	mov	ecx,dword [ebp-4]
	mov	ecx,dword [ecx+12]
	fldz
	fstp	dword [ecx+edx*4+24]
_190:
	add	edx,1
_4167:
	cmp	edx,eax
	jle	_192
_191:
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	cmp	eax,0
	jle	_4170
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	esi,eax
	push	esi
	push	_4173
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,dword [ebp-4]
	mov	dword [edx+16],eax
	push	esi
	push	_4174
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,dword [ebp-4]
	mov	dword [edx+20],eax
	mov	eax,dword [ebp+8]
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	push	dword [eax+20]
	push	0
	mov	eax,dword [ebp-4]
	push	dword [eax+24]
	push	_3605
	call	_bbArraySlice
	add	esp,16
	push	eax
	push	_3605
	call	_bbArraySlice
	add	esp,16
	mov	edx,dword [ebp-4]
	mov	dword [edx+24],eax
	push	esi
	push	_4176
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,dword [ebp-4]
	mov	dword [edx+32],eax
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	edi,eax
	mov	ebx,0
	mov	eax,esi
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_4180
_195:
	mov	eax,dword [ebp-4]
	mov	esi,dword [eax+16]
	mov	eax,dword [edi+ebx*4+24]
	push	dword [eax+8]
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	mov	dword [esi+ebx*4+24],eax
	push	_c3d_cal3d_CalPhysicalProperty
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	mov	edx,dword [esi+12]
	mov	eax,dword [edi+ebx*4+24]
	push	dword [eax+8]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,8
	mov	edx,dword [esi+16]
	mov	eax,dword [edi+ebx*4+24]
	push	dword [eax+8]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+32]
	mov	dword [eax+ebx*4+24],esi
	mov	eax,dword [ebp-4]
	mov	esi,dword [eax+20]
	mov	eax,dword [edi+ebx*4+24]
	push	dword [eax+12]
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	mov	dword [esi+ebx*4+24],eax
_193:
	add	ebx,1
_4180:
	cmp	ebx,dword [ebp-8]
	jle	_195
_194:
	mov	eax,dword [ebp-4]
	mov	byte [eax+48],1
_4170:
	mov	eax,dword [ebp-4]
	jmp	_2590
_2590:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getCoreSubmesh:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2593
_2593:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getCoreMaterialId:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+44]
	jmp	_2596
_2596:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getFaceCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	jmp	_2599
_2599:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getFaces:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+12]
	mov	ebx,0
	mov	ecx,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_4187
_198:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+ecx*4+24]
	mov	edx,dword [eax+8]
	mov	eax,dword [edx+24]
	and	eax,0xffff
	mov	eax,eax
	mov	word [edi+ebx*2+24],ax
	mov	esi,ebx
	add	esi,1
	mov	eax,dword [edx+4+24]
	and	eax,0xffff
	mov	eax,eax
	mov	word [edi+esi*2+24],ax
	mov	esi,ebx
	add	esi,2
	mov	eax,dword [edx+8+24]
	and	eax,0xffff
	mov	eax,eax
	mov	word [edi+esi*2+24],ax
	add	ebx,3
_196:
	add	ecx,1
_4187:
	cmp	ecx,dword [ebp-4]
	jle	_198
_197:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	jmp	_2603
_2603:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getVectorNormal:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	jmp	_2606
_2606:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getVectorVectorTangentSpace:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	jmp	_2609
_2609:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getVectorPhysicalProperty:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+32]
	jmp	_2612
_2612:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getVectorVertex:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_2615
_2615:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getVertexCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	jmp	_2618
_2618:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_hasInternalData:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	movzx	eax,byte [eax+48]
	mov	eax,eax
	mov	byte [ebp-4],al
	jmp	_2621
_2621:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_disableInternalData:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	movzx	eax,byte [ebx+48]
	mov	eax,eax
	cmp	eax,1
	jne	_4190
	push	0
	push	_4191
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+16],eax
	push	0
	push	_4192
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+20],eax
	push	0
	push	0
	push	0
	push	0
	push	dword [ebx+24]
	push	_3605
	call	_bbArraySlice
	add	esp,16
	push	eax
	push	_3605
	call	_bbArraySlice
	add	esp,16
	mov	dword [ebx+24],eax
	push	0
	push	_4193
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+32],eax
	mov	byte [ebx+48],0
_4190:
	mov	eax,0
	jmp	_2624
_2624:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_setCoreMaterialId:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+44],eax
	mov	eax,0
	jmp	_2628
_2628:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_setLodLevel:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	fldz
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_4194
	fld	dword [_6961]
	fstp	dword [ebp+12]
	jmp	_4195
_4194:
	fld1
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_4196
	fld	dword [_6962]
	fstp	dword [ebp+12]
_4196:
_4195:
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	esi,eax
	fld	dword [_6963]
	fsub	dword [ebp+12]
	mov	dword [ebp+-12],esi
	fild	dword [ebp+-12]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	esi,eax
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	sub	eax,esi
	mov	dword [ebx+36],eax
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	ecx,eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+20]
	mov	dword [ebx+40],eax
	mov	eax,dword [ecx+20]
	sub	eax,1
	mov	edx,eax
	mov	eax,dword [ebx+36]
	jmp	_4205
_201:
	mov	esi,dword [ecx+edx*4+24]
	mov	esi,dword [esi+24]
	sub	dword [ebx+40],esi
_199:
	add	edx,-1
_4205:
	cmp	edx,eax
	jge	_201
_200:
	mov	edi,0
	mov	eax,dword [ebx+40]
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_4208
_204:
	mov	edx,0
	jmp	_4210
_207:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+edi*4+24]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+edx*4+24]
	jmp	_208
_210:
	mov	eax,dword [ecx+eax*4+24]
	mov	eax,dword [eax+20]
_208:
	cmp	eax,dword [ebx+36]
	jge	_210
_209:
	mov	esi,dword [ebx+28]
	mov	esi,dword [esi+edi*4+24]
	mov	esi,dword [esi+8]
	mov	dword [esi+edx*4+24],eax
_205:
	add	edx,1
_4210:
	cmp	edx,2
	jle	_207
_206:
_202:
	add	edi,1
_4208:
	cmp	edi,dword [ebp-8]
	jle	_204
_203:
	mov	eax,0
	jmp	_2632
_2632:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_isTangentsEnabled:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+8]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,8
	mov	eax,eax
	mov	byte [ebp-4],al
	jmp	_2636
_2636:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_enableTangents:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	movzx	eax,byte [ebp+16]
	mov	eax,eax
	mov	byte [ebp-4],al
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	movzx	eax,byte [ebp-4]
	push	eax
	push	dword [ebp+12]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+96]
	add	esp,12
	mov	eax,eax
	cmp	eax,0
	jne	_4214
	mov	byte [ebp-8],0
	jmp	_2641
_4214:
	mov	eax,dword [ebp+8]
	movzx	eax,byte [eax+48]
	mov	eax,eax
	cmp	eax,0
	jne	_4215
	mov	byte [ebp-8],1
	jmp	_2641
_4215:
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,0
	jne	_4216
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+24]
	push	0
	push	_4217
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,dword [ebp+12]
	mov	dword [ebx+edx*4+24],eax
	mov	byte [ebp-8],1
	jmp	_2641
_4216:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+8]
	mov	eax,dword [ebp+8]
	mov	ebx,dword [eax+24]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+88]
	add	esp,4
	push	eax
	push	_4218
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,dword [ebp+12]
	mov	dword [ebx+edx*4+24],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	mov	edx,dword [ebp+12]
	mov	edi,dword [eax+edx*4+24]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	esi,0
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_4226
_213:
	push	_c3d_cal3d_CalTangentSpace
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	edx,dword [ebx+8]
	mov	eax,dword [edi+esi*4+24]
	push	dword [eax+8]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [edi+esi*4+24]
	fld	dword [eax+12]
	fstp	dword [ebx+12]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp+12]
	mov	eax,dword [edx+eax*4+24]
	mov	dword [eax+esi*4+24],ebx
_211:
	add	esi,1
_4226:
	cmp	esi,dword [ebp-12]
	jle	_213
_212:
	mov	byte [ebp-8],1
	jmp	_2641
_2641:
	movzx	eax,byte [ebp-8]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getVectorWeight:
	push	ebp
	mov	ebp,esp
	push	_214
	call	_brl_blitz_DebugLog
	add	esp,4
	fld	dword [_6977]
	jmp	_2644
_2644:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_setMorphTargetWeight:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [ebp+16]
	mov	eax,dword [eax+12]
	fstp	dword [eax+edx*4+24]
	mov	eax,0
	jmp	_2649
_2649:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_setMorphTargetWeightbyName:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	ebx,0
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_4231
_217:
	mov	eax,dword [esi+8]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,8
	push	edi
	push	dword [eax+12]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_4235
	push	edi
	push	_219
	push	dword [ebp+16]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_218
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,dword [esi+12]
	fld	dword [ebp+16]
	fstp	dword [eax+ebx*4+24]
	mov	eax,0
	jmp	_2654
_4235:
_215:
	add	ebx,1
_4231:
	cmp	ebx,dword [ebp-4]
	jle	_217
_216:
	mov	eax,0
	jmp	_2654
_2654:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getMorphTargetWeight:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+12]
	fld	dword [eax+edx*4+24]
	jmp	_2658
_2658:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getBaseWeight:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [_6992]
	fstp	dword [ebp-4]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+132]
	add	esp,4
	mov	edx,0
	sub	eax,1
	jmp	_4240
_222:
	mov	ecx,dword [ebx+12]
	fld	dword [ebp-4]
	fsub	dword [ecx+edx*4+24]
	fstp	dword [ebp-4]
_220:
	add	edx,1
_4240:
	cmp	edx,eax
	jle	_222
_221:
	fld	dword [ebp-4]
	jmp	_2661
_2661:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getMorphTargetWeightCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+20]
	jmp	_2664
_2664:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSubmesh_getVectorMorphTargetWeight:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_2667
_2667:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMesh_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalMesh
	mov	dword [ebx+8],_bbNullObject
	mov	dword [ebx+12],_bbNullObject
	mov	dword [ebx+16],_bbEmptyArray
	mov	dword [ebx+8],_bbNullObject
	mov	dword [ebx+12],_bbNullObject
	push	0
	push	_4242
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+16],eax
	mov	eax,0
	jmp	_2670
_2670:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMesh_FromCore:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalMesh
	call	_bbObjectNew
	add	esp,4
	mov	edi,eax
	mov	dword [edi+8],_bbNullObject
	mov	dword [edi+12],ebx
	push	0
	push	_4244
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [edi+16],eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+20]
	mov	dword [ebp-4],0
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_4249
_225:
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+20]
	add	eax,1
	push	eax
	push	0
	push	dword [edi+16]
	push	_1361
	call	_bbArraySlice
	add	esp,16
	mov	dword [edi+16],eax
	mov	esi,dword [edi+16]
	mov	eax,dword [edi+16]
	mov	ebx,dword [eax+20]
	sub	ebx,1
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-8]
	push	dword [eax+edx*4+24]
	call	dword [_c3d_cal3d_CalSubmesh+48]
	add	esp,4
	mov	dword [esi+ebx*4+24],eax
_223:
	add	dword [ebp-4],1
_4249:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-4],eax
	jle	_225
_224:
	mov	eax,edi
	jmp	_2673
_2673:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMesh_getCoreMesh:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_2676
_2676:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMesh_getSubmesh:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4251
	mov	eax,dword [ecx+16]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_4251:
	cmp	eax,0
	je	_4253
	push	_226
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_2680
_4253:
	mov	eax,dword [ecx+16]
	mov	eax,dword [eax+edx*4+24]
	jmp	_2680
_2680:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMesh_getSubmeshCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+20]
	jmp	_2683
_2683:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMesh_getVectorSubmesh:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_2686
_2686:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMesh_setLodLevel:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_4255
_229:
	mov	eax,dword [esi+16]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
_227:
	add	ebx,1
_4255:
	cmp	ebx,edi
	jle	_229
_228:
	mov	eax,0
	jmp	_2690
_2690:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMesh_setMaterialSet:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,0
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+20]
	mov	dword [ebp-4],eax
	jmp	_4259
_232:
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+esi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	dword [ebp+12]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,12
	mov	edx,dword [edi+16]
	mov	edx,dword [edx+esi*4+24]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+96]
	add	esp,8
_230:
	add	esi,1
_4259:
	cmp	esi,dword [ebp-4]
	jle	_232
_231:
	mov	eax,0
	jmp	_2694
_2694:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMesh_setModel:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+8],eax
	mov	eax,0
	jmp	_2698
_2698:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMesh_disableInternalData:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+16]
	mov	edi,dword [eax+20]
	jmp	_4269
_235:
	mov	eax,dword [esi+16]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
_233:
	add	ebx,1
_4269:
	cmp	ebx,edi
	jle	_235
_234:
	mov	eax,0
	jmp	_2701
_2701:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalBone
	mov	dword [ebx+8],_bbNullObject
	mov	dword [ebx+12],_bbNullObject
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	mov	dword [ebx+24],_bbNullObject
	mov	dword [ebx+28],_bbNullObject
	mov	dword [ebx+32],_bbNullObject
	mov	dword [ebx+36],_bbNullObject
	mov	dword [ebx+40],_bbNullObject
	mov	dword [ebx+44],_bbNullObject
	mov	dword [ebx+48],_bbNullObject
	mov	dword [ebx+52],_bbNullObject
	mov	dword [ebx+8],_bbNullObject
	mov	dword [ebx+12],_bbNullObject
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+24],eax
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+28],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+32],eax
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+36],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+40],eax
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+44],eax
	push	_c3d_cal3d_CalMatrix
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+48],eax
	push	_c3d_cal3d_CalBoundingBox
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+52],eax
	mov	eax,0
	jmp	_2704
_2704:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_FromCore:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	_c3d_cal3d_CalBone
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	dword [ebx+8],esi
	mov	dword [ebx+12],_bbNullObject
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+24],eax
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+28],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+32],eax
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+36],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+40],eax
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+44],eax
	push	_c3d_cal3d_CalMatrix
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+48],eax
	push	_c3d_cal3d_CalBoundingBox
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+52],eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	mov	eax,ebx
	jmp	_2707
_2707:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_blendState:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	edx,dword [ebp+16]
	mov	ebx,dword [ebp+20]
	fld	dword [esi+20]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_4274
	mov	eax,dword [esi+32]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [esi+36]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	fld	dword [ebp+12]
	fstp	dword [esi+20]
	jmp	_4277
_4274:
	fld	dword [ebp+12]
	fld	dword [esi+20]
	fadd	dword [ebp+12]
	fdivp	st1,st0
	fstp	dword [ebp-4]
	mov	eax,dword [esi+32]
	push	edx
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,12
	mov	eax,dword [esi+36]
	push	ebx
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,12
	fld	dword [esi+20]
	fadd	dword [ebp+12]
	fstp	dword [esi+20]
_4277:
	mov	eax,0
	jmp	_2713
_2713:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_calculateState:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	fld	dword [edi+16]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_4281
	mov	ebx,dword [edi+24]
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,8
	mov	ebx,dword [edi+28]
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,8
_4281:
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	cmp	eax,-1
	jne	_4288
	mov	eax,dword [edi+32]
	push	dword [edi+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [edi+36]
	push	dword [edi+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	jmp	_4291
_4288:
	mov	edx,dword [edi+12]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,8
	mov	ebx,eax
	mov	eax,dword [edi+32]
	push	dword [edi+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	esi,dword [edi+32]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+80]
	add	esp,8
	mov	esi,dword [edi+32]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,8
	mov	eax,dword [edi+36]
	push	dword [edi+28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	esi,dword [edi+36]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+60]
	add	esp,8
_4291:
	mov	ebx,dword [edi+40]
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [edi+40]
	push	dword [edi+36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,8
	mov	eax,dword [edi+40]
	push	dword [edi+32]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
	mov	ebx,dword [edi+44]
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,8
	mov	eax,dword [edi+44]
	push	dword [edi+36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	mov	eax,dword [edi+48]
	push	dword [edi+44]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	esi,eax
	mov	ebx,0
	mov	eax,dword [esi+20]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_4313
_238:
	mov	eax,dword [edi+12]
	push	dword [esi+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
_236:
	add	ebx,1
_4313:
	cmp	ebx,dword [ebp-4]
	jle	_238
_237:
	mov	eax,0
	jmp	_2716
_2716:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_clearState:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fldz
	fstp	dword [eax+16]
	fldz
	fstp	dword [eax+20]
	mov	eax,0
	jmp	_2719
_2719:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_getCoreBone:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2722
_2722:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_setCoreState:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [esi+24]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,8
	mov	ebx,dword [esi+28]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,8
	fld1
	fstp	dword [esi+20]
	fld1
	fstp	dword [esi+16]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	eax,0
	jmp	_2725
_2725:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_setCoreStateRecursive:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [esi+24]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,8
	mov	ebx,dword [esi+28]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,8
	fld1
	fstp	dword [esi+20]
	fld1
	fstp	dword [esi+16]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	edi,eax
	mov	ebx,0
	mov	eax,dword [edi+20]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_4329
_241:
	mov	eax,dword [esi+12]
	push	dword [edi+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
_239:
	add	ebx,1
_4329:
	cmp	ebx,dword [ebp-4]
	jle	_241
_240:
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	eax,0
	jmp	_2728
_2728:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_SetRotation:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebx+28]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	fld1
	fstp	dword [ebx+20]
	fld1
	fstp	dword [ebx+16]
	mov	eax,0
	jmp	_2732
_2732:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_GetRotation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+28]
	jmp	_2735
_2735:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_getRotationAbsolute:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	jmp	_2738
_2738:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_getRotationBoneSpace:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+44]
	jmp	_2741
_2741:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_setTranslation:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebx+24]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	fld1
	fstp	dword [ebx+20]
	fld1
	fstp	dword [ebx+16]
	mov	eax,0
	jmp	_2745
_2745:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_getTranslation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	jmp	_2748
_2748:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_getTranslationAbsolute:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+32]
	jmp	_2751
_2751:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_getTranslationBoneSpace:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	jmp	_2754
_2754:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_getTransformMatrix:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+48]
	jmp	_2757
_2757:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_lockState:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [ebx+20]
	fld	dword [_7078]
	fsub	dword [ebx+16]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_4336
	fld	dword [_7079]
	fsub	dword [ebx+16]
	fstp	dword [ebx+20]
_4336:
	fld	dword [ebx+20]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_4337
	fld	dword [ebx+16]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_4338
	mov	eax,dword [ebx+24]
	push	dword [ebx+32]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [ebx+28]
	push	dword [ebx+36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	fld	dword [ebx+20]
	fstp	dword [ebx+16]
	jmp	_4341
_4338:
	fld	dword [ebx+20]
	fld	dword [ebx+16]
	fadd	dword [ebx+20]
	fdivp	st1,st0
	fstp	dword [ebp-4]
	mov	eax,dword [ebx+24]
	push	dword [ebx+32]
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,12
	mov	eax,dword [ebx+28]
	push	dword [ebx+36]
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,12
	fld	dword [ebx+16]
	fadd	dword [ebx+20]
	fstp	dword [ebx+16]
_4341:
	fldz
	fstp	dword [ebx+20]
_4337:
	mov	eax,0
	jmp	_2760
_2760:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_setSkeleton:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+12],eax
	mov	eax,0
	jmp	_2764
_2764:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_calculateBoundingBox:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,4
	mov	eax,eax
	cmp	eax,0
	jne	_4347
	mov	eax,0
	jmp	_2767
_4347:
	push	0
	push	0
	push	1065353216
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	mov	ebx,eax
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,8
	mov	eax,dword [edi+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	0
	push	0
	push	-1082130432
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,8
	mov	eax,dword [edi+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+4+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	0
	push	1065353216
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,8
	mov	eax,dword [edi+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+8+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	0
	push	-1082130432
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,8
	mov	eax,dword [edi+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+12+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	1065353216
	push	0
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,8
	mov	eax,dword [edi+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+16+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	-1082130432
	push	0
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,8
	mov	eax,dword [edi+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+20+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	mov	dword [ebp-4],0
	jmp	_4374
_244:
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	esi
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,12
	mov	ebx,esi
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,8
	mov	ebx,esi
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	mov	ebx,0
	jmp	_4382
_247:
	mov	eax,dword [edi+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+ebx*4+24]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,8
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_4384
	mov	eax,dword [edi+52]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+ebx*4+24]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
_4384:
_245:
	add	ebx,1
_4382:
	cmp	ebx,5
	jle	_247
_246:
_242:
	add	dword [ebp-4],1
_4374:
	cmp	dword [ebp-4],5
	jle	_244
_243:
	mov	eax,0
	jmp	_2767
_2767:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalBone_getBoundingBox:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+52]
	jmp	_2770
_2770:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalSkeleton
	mov	dword [ebx+8],_bbNullObject
	mov	dword [ebx+12],_bbEmptyArray
	mov	byte [ebx+16],0
	mov	dword [ebx+8],_bbNullObject
	push	0
	push	_4386
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+12],eax
	mov	byte [ebx+16],0
	mov	eax,0
	jmp	_2773
_2773:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_FromCore:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalSkeleton
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	mov	dword [esi+8],ebx
	push	0
	push	_4388
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [esi+12],eax
	mov	byte [esi+16],0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+76]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+20]
	mov	edi,0
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_4393
_250:
	mov	eax,dword [ebp-4]
	push	dword [eax+edi*4+24]
	call	dword [_c3d_cal3d_CalBone+48]
	add	esp,4
	mov	ebx,eax
	mov	eax,ebx
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+116]
	add	esp,8
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+20]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+12]
	push	_4397
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+12],eax
	mov	eax,dword [esi+12]
	mov	edx,dword [esi+12]
	mov	edx,dword [edx+20]
	sub	edx,1
	mov	dword [eax+edx*4+24],ebx
_248:
	add	edi,1
_4393:
	cmp	edi,dword [ebp-8]
	jle	_250
_249:
	mov	eax,esi
	jmp	_2776
_2776:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_calculateState:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	edi,eax
	mov	ebx,0
	mov	eax,dword [edi+20]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_4401
_253:
	mov	edx,dword [esi+12]
	mov	eax,dword [edi+ebx*4+24]
	mov	eax,dword [edx+eax*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
_251:
	add	ebx,1
_4401:
	cmp	ebx,dword [ebp-4]
	jle	_253
_252:
	mov	byte [esi+16],0
	mov	eax,0
	jmp	_2779
_2779:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_clearState:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_4405
_256:
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
_254:
	add	ebx,1
_4405:
	cmp	ebx,edi
	jle	_256
_255:
	mov	byte [esi+16],0
	mov	eax,0
	jmp	_2782
_2782:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_Create:
	push	ebp
	mov	ebp,esp
	push	_257
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,0
	jmp	_2786
_2786:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_getBone:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+edx*4+24]
	jmp	_2790
_2790:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_getCoreSkeleton:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2793
_2793:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_getVectorBone:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_2796
_2796:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_getBoneCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+20]
	jmp	_2799
_2799:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_lockState:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_4409
_260:
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,4
_258:
	add	ebx,1
_4409:
	cmp	ebx,edi
	jle	_260
_259:
	mov	eax,0
	jmp	_2802
_2802:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_getBoneBoundingBox:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+12]
	mov	esi,dword [ebp+16]
	cmp	edi,_bbNullObject
	jne	_4412
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	edi,eax
_4412:
	cmp	esi,_bbNullObject
	jne	_4413
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
_4413:
	mov	eax,dword [ebp+8]
	movzx	eax,byte [eax+16]
	mov	eax,eax
	cmp	eax,0
	jne	_4414
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
_4414:
	mov	dword [ebp-4],0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	cmp	dword [eax+20],0
	jle	_4417
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+12]
	mov	eax,dword [ebp-4]
	mov	eax,dword [edx+eax*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	mov	ebx,eax
	mov	eax,edi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,esi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	add	dword [ebp-4],1
_4417:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_4422
_263:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+12]
	mov	eax,dword [ebp-4]
	mov	eax,dword [edx+eax*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	mov	ebx,eax
	fld	dword [ebx+8]
	fld	dword [esi+8]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_4425
	fld	dword [ebx+8]
	fstp	dword [esi+8]
	jmp	_4426
_4425:
	fld	dword [ebx+8]
	fld	dword [edi+8]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_4427
	fld	dword [ebx+8]
	fstp	dword [edi+8]
_4427:
_4426:
	fld	dword [ebx+12]
	fld	dword [esi+12]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_4428
	fld	dword [ebx+12]
	fstp	dword [esi+12]
	jmp	_4429
_4428:
	fld	dword [ebx+12]
	fld	dword [edi+12]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_4430
	fld	dword [ebx+12]
	fstp	dword [edi+12]
_4430:
_4429:
	fld	dword [ebx+16]
	fld	dword [esi+16]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_4431
	fld	dword [ebx+16]
	fstp	dword [esi+16]
	jmp	_4432
_4431:
	fld	dword [ebx+16]
	fld	dword [edi+16]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_4433
	fld	dword [ebx+16]
	fstp	dword [edi+16]
_4433:
_4432:
_261:
	add	dword [ebp-4],1
_4422:
	mov	eax,dword [ebp-8]
	cmp	dword [ebp-4],eax
	jle	_263
_262:
	push	_c3d_cal3d_CalMinMax
	call	_bbObjectNew
	add	esp,4
	mov	dword [eax+8],edi
	mov	dword [eax+12],esi
	jmp	_2807
_2807:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_calculateBoundingBoxes:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	movzx	eax,byte [esi+16]
	mov	eax,eax
	cmp	eax,1
	jne	_4435
	mov	eax,0
	jmp	_2810
_4435:
	mov	ebx,0
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_4437
_266:
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,4
_264:
	add	ebx,1
_4437:
	cmp	ebx,edi
	jle	_266
_265:
	mov	byte [esi+16],1
	mov	eax,0
	jmp	_2810
_2810:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_getBonePoints:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+12]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+20]
	mov	dword [ebp-8],eax
	mov	esi,0
	mov	ebx,0
	mov	eax,dword [ebp-8]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_4443
_269:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	fld	dword [eax+8]
	fstp	dword [edi+esi*4+24]
	mov	edx,esi
	add	edx,1
	fld	dword [eax+12]
	fstp	dword [edi+edx*4+24]
	mov	edx,esi
	add	edx,2
	fld	dword [eax+16]
	fstp	dword [edi+edx*4+24]
	add	esi,3
_267:
	add	ebx,1
_4443:
	cmp	ebx,dword [ebp-4]
	jle	_269
_268:
	mov	eax,dword [ebp-8]
	jmp	_2814
_2814:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_getBonePointsStatic:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+12]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+20]
	mov	dword [ebp-8],eax
	mov	esi,0
	mov	ebx,0
	mov	eax,dword [ebp-8]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_4450
_272:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	fld	dword [eax+8]
	fstp	dword [edi+esi*4+24]
	mov	edx,esi
	add	edx,1
	fld	dword [eax+12]
	fstp	dword [edi+edx*4+24]
	mov	edx,esi
	add	edx,2
	fld	dword [eax+16]
	fstp	dword [edi+edx*4+24]
	add	esi,3
_270:
	add	ebx,1
_4450:
	cmp	ebx,dword [ebp-4]
	jle	_272
_271:
	mov	eax,dword [ebp-8]
	jmp	_2818
_2818:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_getBoneLines:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+20]
	mov	edi,0
	mov	dword [ebp-8],0
	mov	dword [ebp-4],0
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_4459
_275:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+12]
	mov	eax,dword [ebp-4]
	mov	esi,dword [edx+eax*4+24]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	cmp	eax,-1
	je	_4465
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+12]
	mov	ebx,dword [edx+eax*4+24]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	mov	esi,eax
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	fld	dword [eax+8]
	mov	edx,dword [ebp+12]
	fstp	dword [edx+edi*4+24]
	mov	ecx,edi
	add	ecx,1
	fld	dword [eax+12]
	mov	edx,dword [ebp+12]
	fstp	dword [edx+ecx*4+24]
	mov	edx,edi
	add	edx,2
	fld	dword [eax+16]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,edi
	add	edx,3
	fld	dword [esi+8]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,edi
	add	edx,4
	fld	dword [esi+12]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,edi
	add	edx,5
	fld	dword [esi+16]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	add	edi,6
	add	dword [ebp-8],1
_4465:
_273:
	add	dword [ebp-4],1
_4459:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-4],eax
	jle	_275
_274:
	mov	eax,dword [ebp-8]
	jmp	_2822
_2822:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSkeleton_getBoneLinesStatic:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+20]
	mov	edi,0
	mov	dword [ebp-8],0
	mov	dword [ebp-4],0
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_4475
_278:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+12]
	mov	eax,dword [ebp-4]
	mov	esi,dword [edx+eax*4+24]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	cmp	eax,-1
	je	_4481
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+12]
	mov	ebx,dword [edx+eax*4+24]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	mov	esi,eax
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	fld	dword [eax+8]
	mov	edx,dword [ebp+12]
	fstp	dword [edx+edi*4+24]
	mov	ecx,edi
	add	ecx,1
	fld	dword [eax+12]
	mov	edx,dword [ebp+12]
	fstp	dword [edx+ecx*4+24]
	mov	edx,edi
	add	edx,2
	fld	dword [eax+16]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,edi
	add	edx,3
	fld	dword [esi+8]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,edi
	add	edx,4
	fld	dword [esi+12]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,edi
	add	edx,5
	fld	dword [esi+16]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	add	edi,6
	add	dword [ebp-8],1
_4481:
_276:
	add	dword [ebp-4],1
_4475:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-4],eax
	jle	_278
_277:
	mov	eax,dword [ebp-8]
	jmp	_2826
_2826:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMinMax_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalMinMax
	mov	dword [ebx+8],_bbNullObject
	mov	dword [ebx+12],_bbNullObject
	mov	eax,0
	jmp	_2829
_2829:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalModel
	mov	dword [ebx+8],_bbNullObject
	mov	dword [ebx+12],_bbNullObject
	mov	dword [ebx+16],_bbNullObject
	mov	dword [ebx+20],_bbNullObject
	mov	dword [ebx+24],_bbNullObject
	mov	dword [ebx+28],_bbNullObject
	mov	dword [ebx+32],_bbNullObject
	mov	dword [ebx+36],_bbNullObject
	mov	dword [ebx+40],_bbEmptyArray
	mov	dword [ebx+44],_bbNullObject
	mov	dword [ebx+8],_bbNullObject
	mov	dword [ebx+12],_bbNullObject
	push	_c3d_cal3d_CalMixer
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+16],eax
	push	_c3d_cal3d_CalMorphTargetMixer
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+20],eax
	push	_c3d_cal3d_CalPhysique
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+24],eax
	push	_c3d_cal3d_CalSpringSystem
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+28],eax
	push	_c3d_cal3d_CalRenderer
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+32],eax
	mov	dword [ebx+36],_bbNullObject
	push	0
	push	_4489
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+40],eax
	push	_c3d_cal3d_CalBoundingBox
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+44],eax
	mov	eax,0
	jmp	_2832
_2832:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_FromCore:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalModel
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	mov	dword [esi+8],ebx
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+208]
	add	esp,4
	push	eax
	call	dword [_c3d_cal3d_CalSkeleton+48]
	add	esp,4
	mov	dword [esi+12],eax
	push	esi
	push	_c3d_cal3d_CalMixer
	call	_bbObjectNew
	add	esp,4
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	dword [esi+16],eax
	push	esi
	call	dword [_c3d_cal3d_CalMorphTargetMixer+48]
	add	esp,4
	mov	dword [esi+20],eax
	push	esi
	call	dword [_c3d_cal3d_CalPhysique+48]
	add	esp,4
	mov	dword [esi+24],eax
	push	esi
	call	dword [_c3d_cal3d_CalSpringSystem+48]
	add	esp,4
	mov	dword [esi+28],eax
	push	esi
	call	dword [_c3d_cal3d_CalRenderer+48]
	add	esp,4
	mov	dword [esi+32],eax
	mov	dword [esi+36],_bbNullObject
	push	0
	push	_4492
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [esi+40],eax
	push	_c3d_cal3d_CalBoundingBox
	call	_bbObjectNew
	add	esp,4
	mov	dword [esi+44],eax
	mov	eax,esi
	jmp	_2835
_2835:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_attachMesh:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4494
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+176]
	add	esp,4
	cmp	ebx,eax
	setge	al
	movzx	eax,al
_4494:
	cmp	eax,0
	je	_4496
	push	_279
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_2839
_4496:
	mov	eax,dword [esi+8]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+172]
	add	esp,8
	mov	edi,eax
	mov	ebx,0
	mov	eax,dword [esi+40]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_4500
_282:
	mov	eax,dword [esi+40]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	cmp	eax,edi
	jne	_4503
	mov	byte [ebp-4],1
	jmp	_2839
_4503:
_280:
	add	ebx,1
_4500:
	cmp	ebx,dword [ebp-8]
	jle	_282
_281:
	push	edi
	call	dword [_c3d_cal3d_CalMesh+48]
	add	esp,4
	mov	ebx,eax
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+76]
	add	esp,8
	mov	eax,dword [esi+40]
	mov	eax,dword [eax+20]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+40]
	push	_4506
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+40],eax
	mov	edx,dword [esi+40]
	mov	eax,dword [esi+40]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [edx+eax*4+24],ebx
	mov	byte [ebp-4],1
	jmp	_2839
_2839:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_detachMesh:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4508
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+176]
	add	esp,4
	cmp	ebx,eax
	setge	al
	movzx	eax,al
_4508:
	cmp	eax,0
	je	_4510
	push	_283
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_2843
_4510:
	mov	eax,dword [edi+8]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+172]
	add	esp,8
	mov	dword [ebp-16],eax
	mov	eax,dword [edi+40]
	mov	eax,dword [eax+20]
	sub	eax,1
	push	eax
	push	_4513
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	mov	esi,0
	mov	ebx,0
	mov	eax,dword [edi+40]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_4517
_286:
	mov	eax,dword [edi+40]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	cmp	eax,dword [ebp-16]
	je	_4521
	mov	eax,dword [edi+40]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [ebp-8]
	mov	dword [eax+esi*4+24],edx
	add	esi,1
_4521:
_284:
	add	ebx,1
_4517:
	cmp	ebx,dword [ebp-12]
	jle	_286
_285:
	mov	eax,dword [ebp-8]
	mov	dword [edi+40],eax
	mov	byte [ebp-4],1
	jmp	_2843
_2843:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getCoreModel:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2846
_2846:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getMesh:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+12]
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4523
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+176]
	add	esp,4
	cmp	ebx,eax
	setge	al
	movzx	eax,al
_4523:
	cmp	eax,0
	je	_4525
	push	_128
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_2850
_4525:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+172]
	add	esp,8
	mov	esi,eax
	mov	ebx,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_4529
_289:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	cmp	eax,esi
	jne	_4532
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	eax,dword [eax+ebx*4+24]
	jmp	_2850
_4532:
_287:
	add	ebx,1
_4529:
	cmp	ebx,edi
	jle	_289
_288:
	mov	eax,_bbNullObject
	jmp	_2850
_2850:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getMixer:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	cmp	dword [ebx+16],_bbNullObject
	jne	_4533
	mov	eax,_bbNullObject
	jmp	_2853
_4533:
	mov	eax,dword [ebx+16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	mov	eax,eax
	cmp	eax,0
	jne	_4535
	push	_290
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_2853
_4535:
	mov	eax,dword [ebx+16]
	jmp	_2853
_2853:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getAbstractMixer:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_2856
_2856:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_setAbstractMixer:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	_c3d_cal3d_CalMixer
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebx+16],eax
	mov	eax,0
	jmp	_2860
_2860:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getMorphTargetMixer:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	jmp	_2863
_2863:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getPhysique:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+24]
	jmp	_2866
_2866:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getRenderer:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+32]
	jmp	_2869
_2869:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getSkeleton:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_2872
_2872:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getSpringSystem:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+28]
	jmp	_2875
_2875:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getBoundingBox:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	movzx	eax,byte [ebp+12]
	mov	eax,eax
	mov	byte [ebp-4],al
	push	0
	push	0
	push	1065353216
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	mov	ebx,eax
	mov	eax,dword [edi+44]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	0
	push	0
	push	-1082130432
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	mov	eax,dword [edi+44]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+4+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	0
	push	1065353216
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	mov	eax,dword [edi+44]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+8+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	0
	push	-1082130432
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	mov	eax,dword [edi+44]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+12+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	1065353216
	push	0
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	mov	eax,dword [edi+44]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+16+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	-1082130432
	push	0
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	mov	eax,dword [edi+44]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+20+24]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,1
	jne	_4548
	mov	eax,dword [edi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
_4548:
	mov	eax,dword [edi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-20],eax
	push	6
	push	_4552
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	mov	esi,0
	jmp	_4555
_293:
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	edx,dword [ebp-8]
	mov	dword [edx+esi*4+24],eax
_291:
	add	esi,1
_4555:
	cmp	esi,5
	jle	_293
_292:
	mov	dword [ebp-12],0
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-16],eax
	jmp	_4557
_296:
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp-20]
	mov	ebx,dword [eax+edx*4+24]
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_4562
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,4
	mov	eax,eax
	cmp	eax,0
	sete	al
	movzx	eax,al
_4562:
	cmp	eax,0
	je	_4564
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+100]
	add	esp,4
	mov	esi,eax
	mov	ebx,0
	jmp	_4568
_299:
	mov	eax,dword [edi+44]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+ebx*4+24]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,8
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_4570
	mov	eax,dword [edi+44]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+ebx*4+24]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
_4570:
_297:
	add	ebx,1
_4568:
	cmp	ebx,5
	jle	_299
_298:
	jmp	_4572
_4564:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+124]
	add	esp,4
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,8
	mov	esi,0
	jmp	_4576
_302:
	mov	ebx,0
	jmp	_4577
_305:
	mov	eax,dword [edi+44]
	mov	eax,dword [eax+8]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [ebp-8]
	push	dword [eax+esi*4+24]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+48]
	add	esp,8
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_4579
	mov	eax,dword [edi+44]
	mov	eax,dword [eax+8]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [ebp-8]
	push	dword [eax+esi*4+24]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+52]
	add	esp,8
_4579:
_303:
	add	ebx,1
_4577:
	cmp	ebx,5
	jle	_305
_304:
_300:
	add	esi,1
_4576:
	cmp	esi,7
	jle	_302
_301:
_4572:
_294:
	add	dword [ebp-12],1
_4557:
	mov	eax,dword [ebp-16]
	cmp	dword [ebp-12],eax
	jle	_296
_295:
	mov	eax,dword [edi+44]
	jmp	_2879
_2879:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getUserData:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+36]
	jmp	_2882
_2882:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_getVectorMesh:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	jmp	_2885
_2885:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_setLodLevel:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+40]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_4582
_308:
	mov	eax,dword [esi+40]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
_306:
	add	ebx,1
_4582:
	cmp	ebx,edi
	jle	_308
_307:
	mov	eax,0
	jmp	_2889
_2889:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_setMaterialSet:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+40]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_4586
_311:
	mov	eax,dword [esi+40]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
_309:
	add	ebx,1
_4586:
	cmp	ebx,edi
	jle	_311
_310:
	mov	eax,0
	jmp	_2893
_2893:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_setUserData:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+36],eax
	mov	eax,0
	jmp	_2897
_2897:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_update:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebx+16]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,8
	mov	eax,dword [ebx+16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	eax,dword [ebx+20]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
	mov	eax,dword [ebx+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	mov	eax,dword [ebx+28]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	mov	eax,0
	jmp	_2901
_2901:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalModel_disableInternalData:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,0
	mov	eax,dword [esi+40]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_4595
_314:
	mov	eax,dword [esi+40]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
_312:
	add	ebx,1
_4595:
	cmp	ebx,edi
	jle	_314
_313:
	mov	eax,0
	jmp	_2904
_2904:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalAnimation
	mov	dword [ebx+8],_bbNullObject
	mov	dword [ebx+12],_bbEmptyArray
	mov	dword [ebx+16],0
	mov	dword [ebx+20],0
	fldz
	fstp	dword [ebx+24]
	fldz
	fstp	dword [ebx+28]
	fldz
	fstp	dword [ebx+32]
	mov	dword [ebx+8],_bbNullObject
	push	0
	push	_4598
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+12],eax
	mov	dword [ebx+16],0
	mov	dword [ebx+20],0
	fldz
	fstp	dword [ebx+24]
	fldz
	fstp	dword [ebx+28]
	fldz
	fstp	dword [ebx+32]
	mov	eax,0
	jmp	_2907
_2907:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_FromCore:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalAnimation
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	mov	dword [esi+8],ebx
	push	0
	push	_4600
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [esi+12],eax
	mov	dword [esi+16],0
	mov	dword [esi+20],0
	fldz
	fstp	dword [esi+24]
	fld1
	fstp	dword [esi+28]
	fldz
	fstp	dword [esi+32]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+92]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_4604
_317:
	mov	eax,dword [esi+12]
	mov	eax,dword [eax+20]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+12]
	push	_523
	call	_bbArraySlice
	add	esp,16
	mov	dword [esi+12],eax
	mov	eax,dword [esi+12]
	mov	edx,dword [esi+12]
	mov	edx,dword [edx+20]
	sub	edx,1
	fldz
	fstp	dword [eax+edx*4+24]
_315:
	add	ebx,1
_4604:
	cmp	ebx,edi
	jle	_317
_316:
	mov	eax,esi
	jmp	_2910
_2910:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_getCoreAnimation:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_2913
_2913:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_getState:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	jmp	_2916
_2916:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_getTime:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+24]
	jmp	_2919
_2919:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_getType:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_2922
_2922:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_getWeight:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+32]
	jmp	_2925
_2925:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_setTime:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+24]
	mov	eax,0
	jmp	_2929
_2929:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_setTimeFactor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+28]
	mov	eax,0
	jmp	_2933
_2933:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_getTimeFactor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+28]
	jmp	_2936
_2936:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_checkCallbacks:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	mov	dword [ebp-12],eax
	mov	edi,0
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-16],eax
	jmp	_4609
_320:
	mov	eax,dword [ebx+12]
	cmp	dword [eax+20],edi
	jg	_4611
	mov	eax,dword [ebx+12]
	mov	eax,dword [eax+20]
	add	eax,1
	push	eax
	push	0
	push	dword [ebx+12]
	push	_523
	call	_bbArraySlice
	add	esp,16
	mov	dword [ebx+12],eax
	mov	edx,dword [ebx+12]
	mov	eax,dword [ebx+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	fld	dword [ebp+12]
	fstp	dword [edx+eax*4+24]
_4611:
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+edi*4+24]
	mov	esi,dword [eax+8]
	mov	eax,dword [ebp+16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	push	eax
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,16
	fldz
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_4614
	mov	eax,dword [ebx+12]
	fld	dword [eax+edi*4+24]
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_4614:
	cmp	eax,0
	je	_4616
	mov	edx,dword [ebx+8]
	mov	esi,dword [ebx+12]
	mov	eax,dword [ebx+12]
	fld	dword [eax+edi*4+24]
	fstp	dword [ebp-4]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+56]
	add	esp,4
	fld	dword [ebp-4]
	fsubrp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp-4]
	fstp	dword [esi+edi*4+24]
	jmp	_4618
_4616:
	fldz
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_4619
	mov	eax,dword [ebx+12]
	fld	dword [eax+edi*4+24]
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_4619:
	cmp	eax,0
	je	_4621
	mov	edx,dword [ebx+8]
	mov	esi,dword [ebx+12]
	mov	eax,dword [ebx+12]
	fld	dword [eax+edi*4+24]
	fstp	dword [ebp-8]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+56]
	add	esp,4
	fld	dword [ebp-8]
	faddp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	fstp	dword [esi+edi*4+24]
_4621:
_4618:
	fldz
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	je	_4623
	mov	eax,dword [ebx+12]
	fld	dword [eax+edi*4+24]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+edi*4+24]
	fadd	dword [eax+12]
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
_4623:
	cmp	eax,0
	jne	_4627
	fldz
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	je	_4625
	mov	eax,dword [ebx+12]
	fld	dword [eax+edi*4+24]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+edi*4+24]
	fsub	dword [eax+12]
	fld	dword [ebp+12]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
_4625:
_4627:
	cmp	eax,0
	je	_4629
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+edi*4+24]
	mov	esi,dword [eax+8]
	mov	eax,dword [ebp+16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	push	eax
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,16
	mov	eax,dword [ebx+12]
	fld	dword [ebp+12]
	fstp	dword [eax+edi*4+24]
_4629:
_318:
	add	edi,1
_4609:
	cmp	edi,dword [ebp-16]
	jle	_320
_319:
	mov	eax,0
	jmp	_2941
_2941:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_completeCallbacks:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	esi,0
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_4635
_323:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+esi*4+24]
	mov	ebx,dword [eax+8]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	push	eax
	push	edi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,12
_321:
	add	esi,1
_4635:
	cmp	esi,dword [ebp-8]
	jle	_323
_322:
	mov	eax,0
	jmp	_2945
_2945:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_setType:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+16],eax
	mov	eax,0
	jmp	_2949
_2949:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_setState:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+20],eax
	mov	eax,0
	jmp	_2953
_2953:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimation_setWeight:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+32]
	mov	eax,0
	jmp	_2957
_2957:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationCallback_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__c3d_cal3d_CalCallbackRecord_New
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalAnimationCallback
	mov	eax,0
	jmp	_2960
_2960:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationCallback_AnimationUpdate:
	push	ebp
	mov	ebp,esp
	mov	eax,0
	jmp	_2966
_2966:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationCallback_AnimationComplete:
	push	ebp
	mov	ebp,esp
	mov	eax,0
	jmp	_2971
_2971:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationAction_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__c3d_cal3d_CalAnimation_New
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalAnimationAction
	fldz
	fstp	dword [ebx+36]
	fldz
	fstp	dword [ebx+40]
	fldz
	fstp	dword [ebx+44]
	fldz
	fstp	dword [ebx+48]
	mov	byte [ebx+52],0
	fldz
	fstp	dword [ebx+36]
	fldz
	fstp	dword [ebx+40]
	fldz
	fstp	dword [ebx+44]
	fldz
	fstp	dword [ebx+48]
	mov	byte [ebx+52],0
	mov	dword [ebx+8],_bbNullObject
	push	0
	push	_4639
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+12],eax
	mov	dword [ebx+16],0
	mov	dword [ebx+20],0
	fldz
	fstp	dword [ebx+24]
	fldz
	fstp	dword [ebx+28]
	fldz
	fstp	dword [ebx+32]
	mov	eax,0
	jmp	_2974
_2974:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationAction_BuildFromCore:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	eax,dword [ebp+8]
	push	_c3d_cal3d_CalAnimationAction
	push	eax
	call	dword [_c3d_cal3d_CalAnimationAction+48]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	fldz
	fstp	dword [ebx+36]
	fldz
	fstp	dword [ebx+40]
	fldz
	fstp	dword [ebx+44]
	fldz
	fstp	dword [ebx+48]
	mov	byte [ebx+52],0
	push	3
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+92]
	add	esp,8
	mov	eax,ebx
	jmp	_2977
_2977:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationAction_execute:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	mov	ebx,dword [ebp+8]
	movzx	eax,byte [ebp+24]
	mov	eax,eax
	mov	byte [ebp-4],al
	push	3
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+96]
	add	esp,8
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+100]
	add	esp,8
	fld	dword [ebp+12]
	fstp	dword [ebx+36]
	fld	dword [ebp+16]
	fstp	dword [ebx+40]
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,8
	fld	dword [ebp+20]
	fstp	dword [ebx+48]
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	mov	byte [ebx+52],al
	mov	byte [ebp-8],1
	jmp	_2984
_2984:
	movzx	eax,byte [ebp-8]
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationAction_update:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	cmp	eax,6
	je	_4646
	mov	eax,ebx
	mov	esi,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	fstp	dword [ebp-16]
	fld	dword [ebp+12]
	fstp	dword [ebp-12]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+80]
	add	esp,4
	fld	dword [ebp-12]
	fmulp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebp-16]
	fadd	dword [ebp-12]
	fstp	dword [ebp-16]
	push	dword [ebp-16]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,8
_4646:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	cmp	eax,3
	jne	_4651
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	fld	dword [ebx+36]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_4653
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	fdiv	dword [ebx+36]
	fmul	dword [ebx+48]
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+100]
	add	esp,8
	jmp	_4656
_4653:
	mov	eax,ebx
	push	4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,8
	mov	eax,ebx
	push	dword [ebx+48]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
_4656:
_4651:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	cmp	eax,4
	jne	_4660
	movzx	eax,byte [ebx+52]
	mov	eax,eax
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_4664
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	esi,eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	fstp	dword [ebp-20]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+56]
	add	esp,4
	fsub	dword [ebx+40]
	fld	dword [ebp-20]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
_4664:
	cmp	eax,0
	je	_4666
	mov	eax,ebx
	push	5
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,8
	jmp	_4668
_4666:
	movzx	eax,byte [ebx+52]
	mov	eax,eax
	cmp	eax,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_4672
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	esi,eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	fstp	dword [ebp-24]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+56]
	add	esp,4
	fld	dword [ebp-24]
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_4672:
	cmp	eax,0
	je	_4674
	mov	eax,ebx
	push	6
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,8
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,8
_4674:
_4668:
_4660:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	cmp	eax,5
	jne	_4680
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	esi,eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	fstp	dword [ebp-28]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+56]
	add	esp,4
	fld	dword [ebp-28]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_4684
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	esi,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	fstp	dword [ebp-8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+60]
	add	esp,4
	fld	dword [ebp-8]
	fsubrp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	fdiv	dword [ebx+40]
	fmul	dword [ebx+48]
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+100]
	add	esp,8
	jmp	_4689
_4684:
	mov	eax,ebx
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	mov	byte [ebp-4],0
	jmp	_2988
_4689:
_4680:
	mov	byte [ebp-4],1
	jmp	_2988
_2988:
	movzx	eax,byte [ebp-4]
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationCycle_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__c3d_cal3d_CalAnimation_New
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalAnimationCycle
	fldz
	fstp	dword [ebx+36]
	fldz
	fstp	dword [ebx+40]
	mov	dword [ebx+8],_bbNullObject
	push	0
	push	_4691
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+12],eax
	mov	dword [ebx+16],0
	mov	dword [ebx+20],0
	fldz
	fstp	dword [ebx+24]
	fldz
	fstp	dword [ebx+28]
	fldz
	fstp	dword [ebx+32]
	mov	eax,0
	jmp	_2991
_2991:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationCycle_BuildFromCore:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	_c3d_cal3d_CalAnimationCycle
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	dword [ebx+8],esi
	push	0
	push	_4693
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+12],eax
	mov	dword [ebx+16],0
	mov	dword [ebx+20],0
	fldz
	fstp	dword [ebx+24]
	fld1
	fstp	dword [ebx+28]
	fldz
	fstp	dword [ebx+32]
	fldz
	fstp	dword [ebx+36]
	fldz
	fstp	dword [ebx+40]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+92]
	add	esp,8
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+96]
	add	esp,8
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+100]
	add	esp,8
	mov	eax,ebx
	jmp	_2994
_2994:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationCycle_blend:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fxch	st1
	fstp	dword [eax+40]
	fstp	dword [eax+36]
	mov	byte [ebp-4],0
	jmp	_2999
_2999:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationCycle_setAsync:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	cmp	eax,2
	je	_4698
	fldz
	fld	dword [ebp+16]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_4699
	push	1065353216
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+76]
	add	esp,8
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,8
	jmp	_4702
_4699:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	fdiv	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+76]
	add	esp,8
	mov	eax,ebx
	fld	dword [ebp+12]
	fstp	dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	fld	dword [ebp-4]
	fmulp	st1,st0
	fstp	dword [ebp-4]
	push	dword [ebp-4]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,8
_4702:
	push	2
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+96]
	add	esp,8
_4698:
	mov	eax,0
	jmp	_3004
_3004:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationCycle_update:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	fld	dword [ebx+36]
	fld	dword [ebp+12]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	jne	_4709
	push	dword [ebx+40]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+100]
	add	esp,8
	fldz
	fstp	dword [ebx+36]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,4
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_4712
	mov	byte [ebp-4],0
	jmp	_3008
_4712:
	jmp	_4713
_4709:
	fld	dword [ebp+12]
	fdiv	dword [ebx+36]
	fstp	dword [ebp-24]
	mov	eax,ebx
	fld	dword [_7314]
	fsub	dword [ebp-24]
	fstp	dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	fld	dword [ebp-12]
	fmulp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebp-12]
	fld	dword [ebp-24]
	fmul	dword [ebx+40]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+100]
	add	esp,8
	fld	dword [ebx+36]
	fsub	dword [ebp+12]
	fstp	dword [ebx+36]
_4713:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	cmp	eax,2
	jne	_4718
	mov	eax,ebx
	mov	esi,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	fstp	dword [ebp-20]
	fld	dword [ebp+12]
	fstp	dword [ebp-16]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+80]
	add	esp,4
	fld	dword [ebp-16]
	fmulp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [ebp-20]
	fadd	dword [ebp-16]
	fstp	dword [ebp-20]
	push	dword [ebp-20]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,8
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	esi,eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	fstp	dword [ebp-28]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+56]
	add	esp,4
	fld	dword [ebp-28]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_4725
	mov	esi,ebx
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	sub	esp,8
	fstp	qword [esp]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+60]
	add	esp,4
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMod
	add	esp,16
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,8
_4725:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_4731
	mov	esi,ebx
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	edi,eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	fstp	dword [ebp-8]
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+56]
	add	esp,4
	fld	dword [ebp-8]
	faddp	st1,st0
	fstp	dword [ebp-8]
	push	dword [ebp-8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+72]
	add	esp,8
_4731:
_4718:
	mov	byte [ebp-4],1
	jmp	_3008
_3008:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationType_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalAnimationType
	mov	eax,0
	jmp	_3011
_3011:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAnimationState_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalAnimationState
	mov	eax,0
	jmp	_3014
_3014:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_Modf:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	st1
	fstp	qword [ebp-16]
	fld	st0
	fstp	qword [ebp-8]
	fdivp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	fld	qword [ebp-8]
	fmulp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-16]
	fsub	qword [ebp-8]
	fstp	qword [ebp-16]
	fld	qword [ebp-16]
	jmp	_3018
_3018:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAbstractMixer_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalAbstractMixer
	mov	eax,0
	jmp	_3021
_3021:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAbstractMixer_isDefaultMixer:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	byte [ebp-4],0
	jmp	_3024
_3024:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAbstractMixer_updateAnimation:
	push	ebp
	mov	ebp,esp
	push	_324
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,0
	jmp	_3028
_3028:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalAbstractMixer_updateSkeleton:
	push	ebp
	mov	ebp,esp
	push	_324
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,0
	jmp	_3031
_3031:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__c3d_cal3d_CalAbstractMixer_New
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalMixer
	mov	dword [ebx+8],_bbNullObject
	mov	dword [ebx+12],_bbEmptyArray
	mov	dword [ebx+16],_bbEmptyArray
	mov	dword [ebx+20],_bbEmptyArray
	fldz
	fstp	dword [ebx+24]
	fldz
	fstp	dword [ebx+28]
	fldz
	fstp	dword [ebx+32]
	mov	eax,0
	jmp	_3034
_3034:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_FromModel:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalMixer
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	mov	dword [esi+8],ebx
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	push	eax
	push	_4738
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [esi+12],eax
	push	0
	push	_4741
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [esi+16],eax
	push	0
	push	_4742
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [esi+20],eax
	fldz
	fstp	dword [esi+24]
	fldz
	fstp	dword [esi+28]
	fld1
	fstp	dword [esi+32]
	mov	eax,esi
	jmp	_3037
_3037:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_isDefaultMixer:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	byte [ebp-4],1
	jmp	_3040
_3040:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_blendCycle:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+12]
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4743
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	cmp	ebx,dword [eax+20]
	setge	al
	movzx	eax,al
_4743:
	cmp	eax,0
	je	_4745
	push	_118
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_3046
_4745:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	esi,dword [eax+ebx*4+24]
	cmp	esi,_bbNullObject
	jne	_4747
	fldz
	fld	dword [ebp+16]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_4748
	mov	byte [ebp-4],1
	jmp	_3046
_4748:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_4752
	mov	byte [ebp-4],0
	jmp	_3046
_4752:
	push	esi
	call	_c3d_cal3d_addExtraKeyframeForLoopedAnim
	add	esp,4
	push	esi
	call	dword [_c3d_cal3d_CalAnimationCycle+104]
	add	esp,4
	mov	edi,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	dword [eax+ebx*4+24],edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	mov	eax,dword [eax+20]
	add	eax,1
	push	eax
	push	_4754
	call	_bbArrayNew1D
	add	esp,8
	mov	esi,eax
	mov	ebx,1
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	mov	ecx,dword [eax+20]
	jmp	_4757
_327:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+20]
	mov	eax,ebx
	sub	eax,1
	mov	eax,dword [edx+eax*4+24]
	mov	dword [esi+ebx*4+24],eax
_325:
	add	ebx,1
_4757:
	cmp	ebx,ecx
	jle	_327
_326:
	mov	dword [esi+24],edi
	mov	eax,dword [ebp+8]
	mov	dword [eax+20],esi
	mov	eax,edi
	push	dword [ebp+20]
	push	dword [ebp+16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,12
	mov	eax,eax
	mov	byte [ebp-4],al
	jmp	_3046
_4747:
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+64]
	add	esp,4
	cmp	eax,1
	je	_4761
	push	_328
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_3046
_4761:
	fldz
	fld	dword [ebp+16]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_4762
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	dword [eax+ebx*4+24],_bbNullObject
_4762:
	push	_c3d_cal3d_CalAnimationCycle
	push	esi
	call	_bbObjectDowncast
	add	esp,8
	mov	edi,eax
	mov	eax,edi
	push	dword [ebp+20]
	push	dword [ebp+16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,12
	mov	eax,edi
	mov	edx,dword [ebp+8]
	push	dword [edx+8]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,12
	mov	byte [ebp-4],1
	jmp	_3046
_3046:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_clearCycle:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	cmp	edi,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4765
	mov	eax,dword [esi+12]
	cmp	edi,dword [eax+20]
	setge	al
	movzx	eax,al
_4765:
	cmp	eax,0
	je	_4767
	push	_118
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_3051
_4767:
	mov	eax,dword [esi+12]
	mov	ebx,dword [eax+edi*4+24]
	cmp	ebx,_bbNullObject
	jne	_4769
	mov	byte [ebp-4],1
	jmp	_3051
_4769:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	cmp	eax,1
	je	_4771
	push	_329
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_3051
_4771:
	mov	eax,dword [esi+12]
	mov	dword [eax+edi*4+24],_bbNullObject
	push	_c3d_cal3d_CalAnimationCycle
	push	ebx
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	push	dword [esi+28]
	push	dword [esi+24]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+112]
	add	esp,12
	push	dword [ebp+16]
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+108]
	add	esp,12
	push	dword [esi+8]
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,12
	mov	byte [ebp-4],1
	jmp	_3051
_3051:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_executeAction:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	movzx	eax,byte [ebp+28]
	mov	eax,eax
	mov	byte [ebp-4],al
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_4779
	mov	byte [ebp-8],0
	jmp	_3059
_4779:
	push	eax
	call	dword [_c3d_cal3d_CalAnimationAction+104]
	add	esp,4
	mov	dword [ebp-12],eax
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+20]
	add	eax,1
	push	eax
	push	_4781
	call	_bbArrayNew1D
	add	esp,8
	mov	esi,eax
	mov	ebx,1
	mov	eax,dword [edi+16]
	mov	ecx,dword [eax+20]
	jmp	_4784
_332:
	mov	edx,dword [edi+16]
	mov	eax,ebx
	sub	eax,1
	mov	eax,dword [edx+eax*4+24]
	mov	dword [esi+ebx*4+24],eax
_330:
	add	ebx,1
_4784:
	cmp	ebx,ecx
	jle	_332
_331:
	mov	eax,dword [ebp-12]
	mov	dword [esi+24],eax
	mov	dword [edi+16],esi
	mov	edx,dword [ebp-12]
	movzx	eax,byte [ebp-4]
	push	eax
	push	dword [ebp+24]
	push	dword [ebp+20]
	push	dword [ebp+16]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+108]
	add	esp,20
	mov	eax,dword [ebp-12]
	push	dword [edi+8]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,12
	mov	byte [ebp-8],1
	jmp	_3059
_3059:
	movzx	eax,byte [ebp-8]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_removeAction:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_4791
	mov	byte [ebp-4],0
	jmp	_3063
_4791:
	mov	ebx,0
	jmp	_333
_335:
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	cmp	eax,esi
	jne	_4794
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+ebx*4+24]
	push	dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,8
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	push	eax
	push	_4796
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	mov	esi,0
	mov	ecx,0
	mov	eax,dword [edi+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_4800
_338:
	cmp	ecx,ebx
	je	_4802
	mov	eax,dword [edi+16]
	mov	edx,dword [eax+ecx*4+24]
	mov	eax,dword [ebp-8]
	mov	dword [eax+esi*4+24],edx
	add	esi,1
_4802:
_336:
	add	ecx,1
_4800:
	cmp	ecx,dword [ebp-12]
	jle	_338
_337:
	mov	eax,dword [ebp-8]
	mov	dword [edi+16],eax
	mov	byte [ebp-4],1
	jmp	_3063
_4794:
	add	ebx,1
_333:
	mov	eax,dword [edi+16]
	cmp	ebx,dword [eax+20]
	jl	_335
_334:
	mov	byte [ebp-4],0
	jmp	_3063
_3063:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_updateAnimation:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	fld	dword [eax+28]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_4803
	fldz
	mov	eax,dword [ebp+8]
	fstp	dword [eax+24]
	jmp	_4804
_4803:
	mov	eax,dword [ebp+8]
	fld	dword [eax+24]
	fld	dword [ebp+12]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+32]
	faddp	st1,st0
	mov	eax,dword [ebp+8]
	fstp	dword [eax+24]
	mov	eax,dword [ebp+8]
	fld	dword [eax+24]
	mov	eax,dword [ebp+8]
	fld	dword [eax+28]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_4805
	mov	eax,dword [ebp+8]
	fld	dword [eax+24]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_4805:
	cmp	eax,0
	je	_4807
	mov	eax,dword [ebp+8]
	fld	dword [eax+28]
	sub	esp,8
	fstp	qword [esp]
	mov	eax,dword [ebp+8]
	fld	dword [eax+24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMod
	add	esp,16
	mov	eax,dword [ebp+8]
	fstp	dword [eax+24]
_4807:
	mov	eax,dword [ebp+8]
	fld	dword [eax+24]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_4808
	mov	eax,dword [ebp+8]
	fld	dword [eax+24]
	mov	eax,dword [ebp+8]
	fadd	dword [eax+28]
	mov	eax,dword [ebp+8]
	fstp	dword [eax+24]
_4808:
_4804:
	mov	edi,0
	jmp	_339
_341:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	ebx,dword [eax+edi*4+24]
	push	dword [ebp+12]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+112]
	add	esp,8
	cmp	eax,0
	je	_4812
	mov	eax,ebx
	mov	edx,dword [ebp+8]
	push	dword [edx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,12
	add	edi,1
	jmp	_4815
_4812:
	mov	eax,dword [ebp+8]
	push	dword [eax+8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	push	eax
	push	_4817
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	mov	ecx,0
	mov	edx,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	jmp	_4821
_344:
	cmp	edx,edi
	je	_4823
	mov	esi,dword [ebp+8]
	mov	esi,dword [esi+16]
	mov	esi,dword [esi+edx*4+24]
	mov	dword [ebx+ecx*4+24],esi
	add	ecx,1
_4823:
_342:
	add	edx,1
_4821:
	cmp	edx,eax
	jle	_344
_343:
	mov	eax,dword [ebp+8]
	mov	dword [eax+16],ebx
_4815:
_339:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	cmp	edi,dword [eax+20]
	jl	_341
_340:
	fld	dword [_7378]
	fstp	dword [ebp-8]
	fld	dword [_7379]
	fstp	dword [ebp-12]
	mov	edi,0
	jmp	_345
_347:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	mov	esi,dword [eax+edi*4+24]
	mov	eax,esi
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+116]
	add	esp,8
	mov	eax,eax
	cmp	eax,1
	jne	_4829
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	cmp	eax,1
	jne	_4831
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	fld	dword [ebp-8]
	faddp	st1,st0
	fstp	dword [ebp-8]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	ebx,eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,4
	fstp	dword [ebp-4]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	fld	dword [ebp-4]
	fmulp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp-12]
	fadd	dword [ebp-4]
	fstp	dword [ebp-12]
_4831:
	mov	eax,esi
	mov	edx,dword [ebp+8]
	push	dword [edx+8]
	mov	edx,dword [ebp+8]
	push	dword [edx+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,12
	add	edi,1
	jmp	_4837
_4829:
	mov	eax,esi
	mov	edx,dword [ebp+8]
	push	dword [edx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	mov	eax,dword [eax+20]
	sub	eax,1
	push	eax
	push	_4839
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	mov	ecx,0
	mov	edx,0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	mov	eax,dword [eax+20]
	sub	eax,1
	jmp	_4841
_350:
	cmp	edx,edi
	je	_4843
	mov	esi,dword [ebp+8]
	mov	esi,dword [esi+20]
	mov	esi,dword [esi+edx*4+24]
	mov	dword [ebx+ecx*4+24],esi
	add	ecx,1
_4843:
_348:
	add	edx,1
_4841:
	cmp	edx,eax
	jle	_350
_349:
	mov	eax,dword [ebp+8]
	mov	dword [eax+20],ebx
_4837:
_345:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	cmp	edi,dword [eax+20]
	jl	_347
_346:
	fldz
	fld	dword [ebp-8]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_4844
	fld	dword [ebp-12]
	fdiv	dword [ebp-8]
	mov	eax,dword [ebp+8]
	fstp	dword [eax+28]
	jmp	_4845
_4844:
	fldz
	mov	eax,dword [ebp+8]
	fstp	dword [eax+28]
_4845:
	mov	eax,0
	jmp	_3067
_3067:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_updateSkeleton:
	push	ebp
	mov	ebp,esp
	sub	esp,60
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	mov	dword [ebp-60],eax
	cmp	dword [ebp-60],_bbNullObject
	jne	_4848
	mov	eax,0
	jmp	_3070
_4848:
	mov	eax,dword [ebp-60]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	eax,dword [ebp-60]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-40],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-36],eax
	push	_c3d_cal3d_CalQuaternion
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-32],eax
	mov	dword [ebp-44],0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-52],eax
	jmp	_4855
_353:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-44]
	mov	eax,dword [edx+eax*4+24]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	ebx,eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+100]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	edi,0
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-24],eax
	jmp	_4863
_356:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+edi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	edx,dword [ebp-40]
	mov	esi,dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	ebx,dword [eax+edi*4+24]
	mov	eax,dword [ebp-12]
	push	dword [ebp-32]
	push	dword [ebp-36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,16
	mov	ebx,esi
	mov	eax,dword [ebp-12]
	push	dword [ebp-32]
	push	dword [ebp-36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,16
_354:
	add	edi,1
_4863:
	cmp	edi,dword [ebp-24]
	jle	_356
_355:
_351:
	add	dword [ebp-44],1
_4855:
	mov	eax,dword [ebp-52]
	cmp	dword [ebp-44],eax
	jle	_353
_352:
	mov	eax,dword [ebp-60]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	dword [ebp-48],0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-56],eax
	jmp	_4873
_359:
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+20]
	mov	eax,dword [ebp-48]
	mov	eax,dword [edx+eax*4+24]
	mov	dword [ebp-28],eax
	mov	eax,dword [ebp-28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [ebp-28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	cmp	eax,1
	jne	_4879
	mov	eax,dword [ebp+8]
	fld	dword [eax+28]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_4880
	fld	dword [_7394]
	fstp	dword [ebp-20]
	jmp	_4881
_4880:
	mov	eax,dword [ebp+8]
	fld	dword [eax+24]
	fstp	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	fld	dword [ebp-8]
	fmulp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+28]
	fstp	dword [ebp-20]
_4881:
	jmp	_4883
_4879:
	mov	eax,dword [ebp-28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	fstp	dword [ebp-20]
_4883:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+100]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	edi,0
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-16],eax
	jmp	_4886
_362:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+edi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	edx,dword [ebp-40]
	mov	esi,dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+edi*4+24]
	push	dword [ebp-32]
	push	dword [ebp-36]
	push	dword [ebp-20]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,16
	mov	ebx,esi
	mov	eax,dword [ebp-28]
	push	dword [ebp-32]
	push	dword [ebp-36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,16
_360:
	add	edi,1
_4886:
	cmp	edi,dword [ebp-16]
	jle	_362
_361:
_357:
	add	dword [ebp-48],1
_4873:
	mov	eax,dword [ebp-56]
	cmp	dword [ebp-48],eax
	jle	_359
_358:
	mov	eax,dword [ebp-60]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	eax,dword [ebp-60]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	eax,0
	jmp	_3070
_3070:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_getAnimationTime:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+24]
	jmp	_3073
_3073:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_getAnimationDuration:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+28]
	jmp	_3076
_3076:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_setAnimationTime:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+24]
	mov	eax,0
	jmp	_3080
_3080:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_setTimeFactor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+32]
	mov	eax,0
	jmp	_3084
_3084:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_getTimeFactor:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [eax+32]
	jmp	_3087
_3087:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_getCalModel:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_3090
_3090:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_getAnimationVector:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_3093
_3093:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_getAnimationActionList:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_3096
_3096:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMixer_getAnimationCycle:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+20]
	jmp	_3099
_3099:
	mov	esp,ebp
	pop	ebp
	ret
_c3d_cal3d_addExtraKeyframeForLoopedAnim:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp-16]
	cmp	dword [eax+20],0
	jne	_4896
	mov	eax,0
	jmp	_3102
_4896:
	mov	dword [ebp-4],0
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-16]
	cmp	dword [eax+edx*4+24],_bbNullObject
	jne	_4898
	mov	eax,0
	jmp	_3102
_4898:
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-16]
	mov	ebx,dword [eax+edx*4+24]
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-16]
	mov	eax,dword [eax+edx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	sub	eax,1
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_4902
	mov	eax,0
	jmp	_3102
_4902:
	mov	ebx,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	fstp	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	fld	dword [ebp-8]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_4905
	mov	dword [ebp-4],0
	mov	eax,dword [ebp-16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_4906
_365:
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-16]
	mov	edi,dword [eax+edx*4+24]
	mov	eax,edi
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,8
	mov	ebx,eax
	push	_c3d_cal3d_CalCoreKeyframe
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+76]
	add	esp,8
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+72]
	add	esp,8
	mov	ebx,esi
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,8
	mov	eax,edi
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
_363:
	add	dword [ebp-4],1
_4906:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-4],eax
	jle	_365
_364:
_4905:
	mov	eax,0
	jmp	_3102
_3102:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalMorphTargetMixer
	mov	dword [ebx+8],_bbNullObject
	mov	dword [ebx+12],_bbEmptyArray
	mov	dword [ebx+16],_bbEmptyArray
	mov	dword [ebx+20],_bbEmptyArray
	fldz
	fstp	dword [ebx+24]
	fldz
	fstp	dword [ebx+28]
	mov	dword [ebx+32],0
	mov	dword [ebx+8],_bbNullObject
	push	0
	push	_4919
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+12],eax
	push	0
	push	_4920
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+16],eax
	push	0
	push	_4921
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+20],eax
	mov	eax,0
	jmp	_3105
_3105:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_FromModel:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalMorphTargetMixer
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	mov	dword [esi+8],ebx
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+116]
	add	esp,4
	mov	ebx,eax
	push	ebx
	push	_4926
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [esi+12],eax
	push	ebx
	push	_4927
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [esi+16],eax
	push	ebx
	push	_4928
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [esi+20],eax
	mov	eax,esi
	jmp	_3108
_3108:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_blend:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4929
	mov	eax,dword [ecx+12]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_4929:
	cmp	eax,0
	je	_4931
	fstp	st0
	fstp	st0
	push	_124
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_3114
_4931:
	mov	dword [ecx+32],edx
	mov	eax,dword [ecx+16]
	fxch	st1
	fstp	dword [eax+edx*4+24]
	mov	eax,dword [ecx+20]
	fstp	dword [eax+edx*4+24]
	mov	byte [ebp-4],1
	jmp	_3114
_3114:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_clear:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	fld	dword [ebp+16]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4932
	mov	eax,dword [ecx+12]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_4932:
	cmp	eax,0
	je	_4934
	fstp	st0
	push	_124
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_3119
_4934:
	mov	eax,dword [ecx+16]
	fldz
	fstp	dword [eax+edx*4+24]
	mov	eax,dword [ecx+20]
	fstp	dword [eax+edx*4+24]
	mov	byte [ebp-4],1
	jmp	_3119
_3119:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_getCurrentWeight:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4935
	mov	eax,dword [ecx+12]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_4935:
	cmp	eax,0
	je	_4937
	push	_124
	call	_brl_blitz_DebugLog
	add	esp,4
	fld	dword [_7449]
	jmp	_3123
_4937:
	mov	eax,dword [ecx+12]
	fld	dword [eax+edx*4+24]
	jmp	_3123
_3123:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_getCurrentWeightBase:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ecx,dword [ebp+8]
	fld	dword [_7457]
	mov	edx,0
	mov	eax,dword [ecx+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	jmp	_4940
_368:
	mov	ebx,dword [ecx+12]
	fsub	dword [ebx+edx*4+24]
_366:
	add	edx,1
_4940:
	cmp	edx,eax
	jle	_368
_367:
	jmp	_3126
_3126:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_getMorphTargetCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	eax,dword [eax+20]
	jmp	_3129
_3129:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_update:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [ebp+12]
	mov	eax,dword [ebx+32]
	cmp	eax,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_4942
	mov	edx,dword [ebx+32]
	mov	eax,dword [ebx+16]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_4942:
	cmp	eax,0
	je	_4944
	fstp	st0
	mov	eax,0
	jmp	_3133
_4944:
	mov	edx,dword [ebx+16]
	mov	eax,dword [ebx+32]
	fld	dword [edx+eax*4+24]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_4945
	fstp	st0
	mov	eax,0
	jmp	_3133
_4945:
	fld	dword [ebx+24]
	faddp	st1,st0
	fstp	dword [ebx+24]
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	push	dword [ebx+32]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,8
	mov	edx,eax
	cmp	edx,_bbNullObject
	jne	_4949
	push	_369
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,0
	jmp	_3133
_4949:
	fld	dword [ebx+24]
	fld	dword [edx+8]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_4951
	fldz
	fstp	dword [ebx+24]
_4951:
_4950:
	push	dword [ebx+24]
	push	edx
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+76]
	add	esp,12
	mov	eax,0
	jmp	_3133
_3133:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_SetTrackWeights:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	edi,0
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_4956
_372:
	mov	eax,dword [ebp-4]
	mov	esi,dword [eax+edi*4+24]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	cmp	dword [eax+20],0
	jne	_4962
	push	_373
	call	_brl_blitz_DebugLog
	add	esp,4
	fld	dword [_7475]
	jmp	_4963
_4962:
	mov	edx,ebx
	push	dword [ebp+16]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+80]
	add	esp,12
_4963:
	mov	eax,esi
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+96]
	add	esp,12
_370:
	add	edi,1
_4956:
	cmp	edi,dword [ebp-8]
	jle	_372
_371:
	mov	eax,0
	jmp	_3138
_3138:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_CalcKeyframeWeight:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	esi,0
	mov	ebx,0
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_4969
_376:
	mov	esi,ebx
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	fld	dword [ebp+16]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_4972
	jmp	_375
_4972:
_374:
	add	ebx,1
_4969:
	cmp	ebx,edi
	jle	_376
_375:
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+20]
	sub	eax,1
	cmp	esi,eax
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_4973
	cmp	esi,0
	sete	al
	movzx	eax,al
_4973:
	cmp	eax,0
	je	_4975
	fld	dword [_7483]
	jmp	_3143
_4975:
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+esi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	fstp	dword [ebp-8]
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+esi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	fstp	dword [ebp-4]
	sub	esi,1
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+esi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	fstp	dword [ebp-12]
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+esi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	eax,dword [ebp+8]
	push	dword [ebp-4]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-8]
	push	dword [ebp-12]
	push	dword [ebp+16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,24
	jmp	_3143
_3143:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_Lerp:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fxch	st1
	fsub	st0,st2
	fmulp	st1,st0
	faddp	st1,st0
	jmp	_3149
_3149:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_MapRangeValue:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	fld	dword [ebp+24]
	fld	dword [ebp+28]
	mov	edx,dword [_c3d_cal3d_Delta]
	fld	dword [edx+28]
	mov	edx,dword [_c3d_cal3d_Delta]
	mov	edx,dword [edx+8]
	mov	dword [ebp+-4],edx
	fild	dword [ebp+-4]
	fdivp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,16
	jmp	_3157
_3157:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_CalcNormal:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fsubp	st1,st0
	mov	eax,dword [_c3d_cal3d_Delta]
	fld	dword [eax+28]
	mov	eax,dword [_c3d_cal3d_Delta]
	mov	eax,dword [eax+8]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fdivp	st1,st0
	fdivp	st1,st0
	jmp	_3163
_3163:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalMorphTargetMixer_ApplyWeightToMorphMesh:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	mov	dword [ebp-8],eax
	mov	dword [ebp-4],0
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_4989
_379:
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+edx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	mov	esi,eax
	mov	ebx,0
	mov	eax,dword [esi+20]
	sub	eax,1
	mov	edi,eax
	jmp	_4994
_382:
	mov	eax,dword [esi+ebx*4+24]
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,12
_380:
	add	ebx,1
_4994:
	cmp	ebx,edi
	jle	_382
_381:
_377:
	add	dword [ebp-4],1
_4989:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-4],eax
	jle	_379
_378:
	mov	eax,0
	jmp	_3168
_3168:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalPhysique
	mov	dword [ebx+8],_bbNullObject
	mov	byte [ebx+12],0
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	fldz
	fstp	dword [ebx+24]
	mov	dword [ebx+8],_bbNullObject
	mov	byte [ebx+12],0
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	fldz
	fstp	dword [ebx+24]
	mov	eax,0
	jmp	_3171
_3171:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_FromModel:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalPhysique
	call	_bbObjectNew
	add	esp,4
	mov	dword [eax+8],ebx
	mov	byte [eax+12],1
	fld1
	fstp	dword [eax+16]
	fld1
	fstp	dword [eax+20]
	fld1
	fstp	dword [eax+24]
	jmp	_3174
_3174:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_calculateTangentSpaces:
	push	ebp
	mov	ebp,esp
	sub	esp,64
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_5000
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	cmp	ebx,dword [eax+20]
	setge	al
	movzx	eax,al
_5000:
	cmp	eax,0
	je	_5002
	mov	eax,0
	jmp	_3181
_5002:
	cmp	dword [ebp+24],0
	jg	_5003
	mov	dword [ebp+24],4
_5003:
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+84]
	add	esp,4
	imul	eax,dword [ebp+24]
	mov	edx,dword [ebp+20]
	cmp	dword [edx+20],eax
	jge	_5005
	mov	eax,0
	jmp	_3181
_5005:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-40],eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-60],eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [ebp-56],eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-64],eax
	mov	dword [ebp-44],0
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	dword [ebp-48],0
	mov	eax,dword [ebp-64]
	sub	eax,1
	mov	dword [ebp-52],eax
	jmp	_5021
_385:
	mov	edx,dword [ebp-48]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp-36],eax
	mov	edx,dword [ebp-48]
	mov	eax,dword [ebp-60]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp-28],eax
	fld	dword [_7517]
	fstp	dword [ebp-8]
	fld	dword [_7518]
	fstp	dword [ebp-12]
	fld	dword [_7519]
	fstp	dword [ebp-16]
	mov	eax,dword [ebp-28]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+20]
	mov	dword [ebp-4],0
	sub	eax,1
	mov	dword [ebp-32],eax
	jmp	_5030
_388:
	mov	eax,dword [ebp-28]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	esi,dword [edx+eax*4+24]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-40]
	mov	edi,dword [eax+edx*4+24]
	mov	eax,ebx
	mov	edx,dword [ebp-36]
	push	dword [edx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,8
	fld	dword [esi+12]
	fmul	dword [ebx+8]
	fld	dword [ebp-8]
	faddp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [esi+12]
	fmul	dword [ebx+12]
	fld	dword [ebp-12]
	faddp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [esi+12]
	fmul	dword [ebx+16]
	fld	dword [ebp-16]
	faddp	st1,st0
	fstp	dword [ebp-16]
_386:
	add	dword [ebp-4],1
_5030:
	mov	eax,dword [ebp-32]
	cmp	dword [ebp-4],eax
	jle	_388
_387:
	mov	eax,dword [ebp+8]
	movzx	eax,byte [eax+12]
	mov	eax,eax
	cmp	eax,1
	jne	_5037
	fld	dword [ebp-8]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+16]
	fstp	dword [ebp-8]
	fld	dword [ebp-12]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+20]
	fstp	dword [ebp-12]
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+24]
	fstp	dword [ebp-16]
	fld1
	fstp	qword [ebp-24]
	fld	dword [ebp-8]
	fmul	dword [ebp-8]
	fld	dword [ebp-12]
	fmul	dword [ebp-12]
	faddp	st1,st0
	fld	dword [ebp-16]
	fmul	dword [ebp-16]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-24]
	fdivrp	st1,st0
	fstp	qword [ebp-24]
	fld	qword [ebp-24]
	fld	dword [ebp-8]
	fmul	st0,st1
	mov	edx,dword [ebp-44]
	mov	eax,dword [ebp+20]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-44]
	add	edx,1
	fld	dword [ebp-12]
	fmul	st0,st1
	mov	eax,dword [ebp+20]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-44]
	add	edx,2
	fld	dword [ebp-16]
	fmulp	st1,st0
	mov	eax,dword [ebp+20]
	fstp	dword [eax+edx*4+24]
	jmp	_5039
_5037:
	fld	dword [ebp-8]
	mov	edx,dword [ebp-44]
	mov	eax,dword [ebp+20]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-44]
	add	edx,1
	fld	dword [ebp-12]
	mov	eax,dword [ebp+20]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-44]
	add	edx,2
	fld	dword [ebp-16]
	mov	eax,dword [ebp+20]
	fstp	dword [eax+edx*4+24]
_5039:
	mov	edx,dword [ebp-44]
	add	edx,3
	mov	eax,dword [ebp-36]
	fld	dword [eax+12]
	mov	eax,dword [ebp+20]
	fstp	dword [eax+edx*4+24]
	mov	eax,dword [ebp+24]
	add	dword [ebp-44],eax
_383:
	add	dword [ebp-48],1
_5021:
	mov	eax,dword [ebp-52]
	cmp	dword [ebp-48],eax
	jle	_385
_384:
	mov	eax,dword [ebp-64]
	jmp	_3181
_3181:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_calculateNormals:
	push	ebp
	mov	ebp,esp
	sub	esp,76
	push	ebx
	push	esi
	push	edi
	cmp	dword [ebp+20],0
	jg	_5040
	mov	dword [ebp+20],3
_5040:
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	imul	eax,dword [ebp+20]
	mov	edx,dword [ebp+16]
	cmp	dword [edx+20],eax
	jge	_5042
	mov	eax,0
	jmp	_3187
_5042:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-56],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-72],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-76],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,4
	mov	dword [ebp-52],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,4
	fstp	dword [ebp-48]
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+132]
	add	esp,4
	mov	dword [ebp-68],eax
	mov	dword [ebp-60],0
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-28],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-36],eax
	mov	dword [ebp-44],0
	mov	eax,dword [ebp-76]
	sub	eax,1
	mov	dword [ebp-64],eax
	jmp	_5062
_391:
	mov	edx,dword [ebp-44]
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp-40],eax
	fld1
	fld	dword [ebp-48]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_5065
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+12]
	fld	dword [eax+8]
	mov	eax,dword [ebp-28]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+12]
	fld	dword [eax+12]
	mov	eax,dword [ebp-28]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+12]
	fld	dword [eax+16]
	mov	eax,dword [ebp-28]
	fstp	dword [eax+16]
	jmp	_5066
_5065:
	fld	dword [ebp-48]
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+12]
	fmul	dword [eax+8]
	mov	eax,dword [ebp-28]
	fstp	dword [eax+8]
	fld	dword [ebp-48]
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+12]
	fmul	dword [eax+12]
	mov	eax,dword [ebp-28]
	fstp	dword [eax+12]
	fld	dword [ebp-48]
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+12]
	fmul	dword [eax+16]
	mov	eax,dword [ebp-28]
	fstp	dword [eax+16]
	mov	esi,0
	mov	eax,dword [ebp-68]
	sub	eax,1
	mov	edi,eax
	jmp	_5068
_394:
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+esi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	edx,dword [ebp-44]
	mov	ebx,dword [eax+edx*4+24]
	mov	eax,dword [ebp+12]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,8
	cmp	ebx,_bbNullObject
	jne	_7549
	fstp	st0
	jmp	_5075
_7549:
	mov	eax,dword [ebp-28]
	fld	dword [eax+8]
	fld	st1
	mov	eax,dword [ebx+12]
	fmul	dword [eax+8]
	faddp	st1,st0
	mov	eax,dword [ebp-28]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-28]
	fld	dword [eax+12]
	fld	st1
	mov	eax,dword [ebx+12]
	fmul	dword [eax+12]
	faddp	st1,st0
	mov	eax,dword [ebp-28]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-28]
	fld	dword [eax+16]
	mov	eax,dword [ebx+12]
	fxch	st1
	fmul	dword [eax+16]
	faddp	st1,st0
	mov	eax,dword [ebp-28]
	fstp	dword [eax+16]
_5075:
_392:
	add	esi,1
_5068:
	cmp	esi,edi
	jle	_394
_393:
_5066:
	fld	dword [_7537]
	fstp	dword [ebp-8]
	fld	dword [_7538]
	fstp	dword [ebp-12]
	fld	dword [_7539]
	fstp	dword [ebp-24]
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+20]
	cmp	eax,0
	jne	_5080
	mov	eax,dword [ebp-28]
	fld	dword [eax+8]
	fstp	dword [ebp-8]
	mov	eax,dword [ebp-28]
	fld	dword [eax+12]
	fstp	dword [ebp-12]
	mov	eax,dword [ebp-28]
	fld	dword [eax+16]
	fstp	dword [ebp-24]
	jmp	_5081
_5080:
	mov	dword [ebp-4],0
	sub	eax,1
	mov	dword [ebp-32],eax
	jmp	_5083
_397:
	mov	eax,dword [ebp-40]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	esi,dword [edx+eax*4+24]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-56]
	mov	edi,dword [eax+edx*4+24]
	mov	eax,dword [ebp-36]
	push	dword [ebp-28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	ebx,dword [ebp-36]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,8
	fld	dword [esi+12]
	mov	eax,dword [ebp-36]
	fmul	dword [eax+8]
	fld	dword [ebp-8]
	faddp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [esi+12]
	mov	eax,dword [ebp-36]
	fmul	dword [eax+12]
	fld	dword [ebp-12]
	faddp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [esi+12]
	mov	eax,dword [ebp-36]
	fmul	dword [eax+16]
	fld	dword [ebp-24]
	faddp	st1,st0
	fstp	dword [ebp-24]
_395:
	add	dword [ebp-4],1
_5083:
	mov	eax,dword [ebp-32]
	cmp	dword [ebp-4],eax
	jle	_397
_396:
_5081:
	mov	eax,dword [ebp+8]
	movzx	eax,byte [eax+12]
	mov	eax,eax
	cmp	eax,1
	jne	_5090
	fld	dword [ebp-8]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+16]
	fstp	dword [ebp-8]
	fld	dword [ebp-12]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+20]
	fstp	dword [ebp-12]
	fld	dword [ebp-24]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+24]
	fstp	dword [ebp-24]
	fld1
	fstp	qword [ebp-20]
	fld	dword [ebp-8]
	fmul	dword [ebp-8]
	fld	dword [ebp-12]
	fmul	dword [ebp-12]
	faddp	st1,st0
	fld	dword [ebp-24]
	fmul	dword [ebp-24]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-20]
	fdivrp	st1,st0
	fstp	qword [ebp-20]
	fld	qword [ebp-20]
	fld	dword [ebp-8]
	fmul	st0,st1
	mov	edx,dword [ebp-60]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-60]
	add	edx,1
	fld	dword [ebp-12]
	fmul	st0,st1
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-60]
	add	edx,2
	fld	dword [ebp-24]
	fmulp	st1,st0
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	jmp	_5092
_5090:
	fld	dword [ebp-8]
	mov	edx,dword [ebp-60]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-60]
	add	edx,1
	fld	dword [ebp-12]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-60]
	add	edx,2
	fld	dword [ebp-24]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
_5092:
	mov	eax,dword [ebp+20]
	add	dword [ebp-60],eax
_389:
	add	dword [ebp-44],1
_5062:
	mov	eax,dword [ebp-64]
	cmp	dword [ebp-44],eax
	jle	_391
_390:
	mov	eax,dword [ebp-76]
	jmp	_3187
_3187:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_calculateVertices:
	push	ebp
	mov	ebp,esp
	sub	esp,76
	push	ebx
	push	esi
	push	edi
	cmp	dword [ebp+20],0
	jg	_5093
	mov	dword [ebp+20],3
_5093:
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	imul	eax,dword [ebp+20]
	mov	edx,dword [ebp+16]
	cmp	dword [edx+20],eax
	jge	_5095
	mov	eax,0
	jmp	_3193
_5095:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-52],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-72],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	dword [ebp-68],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-76],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,4
	mov	dword [ebp-48],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,4
	fstp	dword [ebp-44]
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+132]
	add	esp,4
	mov	dword [ebp-64],eax
	mov	dword [ebp-56],0
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-28],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-32],eax
	mov	dword [ebp-40],0
	mov	eax,dword [ebp-76]
	sub	eax,1
	mov	dword [ebp-60],eax
	jmp	_5118
_400:
	mov	edx,dword [ebp-40]
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp-36],eax
	mov	eax,dword [ebp-28]
	push	0
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	fld1
	fld	dword [ebp-44]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_5122
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+8]
	fld	dword [eax+8]
	mov	eax,dword [ebp-28]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+8]
	fld	dword [eax+12]
	mov	eax,dword [ebp-28]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+8]
	fld	dword [eax+16]
	mov	eax,dword [ebp-28]
	fstp	dword [eax+16]
	jmp	_5123
_5122:
	fld	dword [ebp-44]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+8]
	fmul	dword [eax+8]
	mov	eax,dword [ebp-28]
	fstp	dword [eax+8]
	fld	dword [ebp-44]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+8]
	fmul	dword [eax+12]
	mov	eax,dword [ebp-28]
	fstp	dword [eax+12]
	fld	dword [ebp-44]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+8]
	fmul	dword [eax+16]
	mov	eax,dword [ebp-28]
	fstp	dword [eax+16]
	mov	esi,0
	mov	eax,dword [ebp-64]
	sub	eax,1
	mov	edi,eax
	jmp	_5125
_403:
	mov	eax,dword [ebp-48]
	mov	eax,dword [eax+esi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	edx,dword [ebp-40]
	mov	ebx,dword [eax+edx*4+24]
	cmp	ebx,_bbNullObject
	je	_5130
	mov	eax,dword [ebp+12]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,8
	fstp	dword [ebp-4]
	push	dword [ebp-4]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_405
	push	dword [ebp-40]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_404
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,dword [ebp-28]
	fld	dword [eax+8]
	fld	dword [ebp-4]
	mov	eax,dword [ebx+8]
	fmul	dword [eax+8]
	faddp	st1,st0
	mov	eax,dword [ebp-28]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-28]
	fld	dword [eax+12]
	fld	dword [ebp-4]
	mov	eax,dword [ebx+8]
	fmul	dword [eax+12]
	faddp	st1,st0
	mov	eax,dword [ebp-28]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-28]
	fld	dword [eax+16]
	fld	dword [ebp-4]
	mov	eax,dword [ebx+8]
	fmul	dword [eax+16]
	faddp	st1,st0
	mov	eax,dword [ebp-28]
	fstp	dword [eax+16]
_5130:
_401:
	add	esi,1
_5125:
	cmp	esi,edi
	jle	_403
_402:
_5123:
	fld	dword [_7558]
	fstp	dword [ebp-20]
	fld	dword [_7559]
	fstp	dword [ebp-12]
	fld	dword [_7560]
	fstp	dword [ebp-16]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+20]
	cmp	eax,0
	jne	_5137
	mov	eax,dword [ebp-28]
	fld	dword [eax+8]
	fstp	dword [ebp-20]
	mov	eax,dword [ebp-28]
	fld	dword [eax+12]
	fstp	dword [ebp-12]
	mov	eax,dword [ebp-28]
	fld	dword [eax+16]
	fstp	dword [ebp-16]
	jmp	_5138
_5137:
	mov	dword [ebp-8],0
	sub	eax,1
	mov	dword [ebp-24],eax
	jmp	_5140
_408:
	mov	eax,dword [ebp-36]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-8]
	mov	ebx,dword [edx+eax*4+24]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebp-52]
	mov	edi,dword [eax+edx*4+24]
	mov	eax,dword [ebp-32]
	push	dword [ebp-28]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	esi,dword [ebp-32]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+84]
	add	esp,8
	mov	esi,dword [ebp-32]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,8
	fld	dword [ebx+12]
	mov	eax,dword [ebp-32]
	fmul	dword [eax+8]
	fld	dword [ebp-20]
	faddp	st1,st0
	fstp	dword [ebp-20]
	fld	dword [ebx+12]
	mov	eax,dword [ebp-32]
	fmul	dword [eax+12]
	fld	dword [ebp-12]
	faddp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebx+12]
	mov	eax,dword [ebp-32]
	fmul	dword [eax+16]
	fld	dword [ebp-16]
	faddp	st1,st0
	fstp	dword [ebp-16]
_406:
	add	dword [ebp-8],1
_5140:
	mov	eax,dword [ebp-24]
	cmp	dword [ebp-8],eax
	jle	_408
_407:
_5138:
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	cmp	eax,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_5152
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
_5152:
	cmp	eax,0
	je	_5154
	mov	edx,dword [ebp-40]
	mov	eax,dword [ebp-68]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+8]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_5156
	fld	dword [ebp-20]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+16]
	mov	edx,dword [ebp-56]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-56]
	add	edx,1
	fld	dword [ebp-12]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+20]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-56]
	add	edx,2
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+24]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
_5156:
	jmp	_5157
_5154:
	fld	dword [ebp-20]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+16]
	mov	edx,dword [ebp-56]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-56]
	add	edx,1
	fld	dword [ebp-12]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+20]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-56]
	add	edx,2
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+24]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
_5157:
	mov	eax,dword [ebp+20]
	add	dword [ebp-56],eax
_398:
	add	dword [ebp-40],1
_5118:
	mov	eax,dword [ebp-60]
	cmp	dword [ebp-40],eax
	jle	_400
_399:
	mov	eax,dword [ebp-76]
	jmp	_3193
_3193:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_calculateVertex:
	push	ebp
	mov	ebp,esp
	sub	esp,40
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-40],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	esi,eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,4
	mov	dword [ebp-32],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,4
	fstp	dword [ebp-8]
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+132]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [ebp+16]
	mov	eax,dword [esi+eax*4+24]
	mov	dword [ebp-36],eax
	push	0
	push	0
	push	0
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	mov	dword [ebp-24],eax
	fld1
	fld	dword [ebp-8]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_5173
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+8]
	fld	dword [eax+8]
	mov	eax,dword [ebp-24]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+8]
	fld	dword [eax+12]
	mov	eax,dword [ebp-24]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+8]
	fld	dword [eax+16]
	mov	eax,dword [ebp-24]
	fstp	dword [eax+16]
	jmp	_5174
_5173:
	fld	dword [ebp-8]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+8]
	fmul	dword [eax+8]
	mov	eax,dword [ebp-24]
	fstp	dword [eax+8]
	fld	dword [ebp-8]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+8]
	fmul	dword [eax+12]
	mov	eax,dword [ebp-24]
	fstp	dword [eax+12]
	fld	dword [ebp-8]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+8]
	fmul	dword [eax+16]
	mov	eax,dword [ebp-24]
	fstp	dword [eax+16]
	mov	esi,0
	sub	ebx,1
	mov	edi,ebx
	jmp	_5176
_411:
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax+esi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	edx,dword [ebp+16]
	mov	ebx,dword [eax+edx*4+24]
	mov	eax,dword [ebp+12]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,8
	mov	eax,dword [ebp-24]
	fld	dword [eax+8]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+8]
	faddp	st1,st0
	mov	eax,dword [ebp-24]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-24]
	fld	dword [eax+12]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+12]
	faddp	st1,st0
	mov	eax,dword [ebp-24]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-24]
	fld	dword [eax+16]
	mov	eax,dword [ebx+8]
	fxch	st1
	fmul	dword [eax+16]
	faddp	st1,st0
	mov	eax,dword [ebp-24]
	fstp	dword [eax+16]
_409:
	add	esi,1
_5176:
	cmp	esi,edi
	jle	_411
_410:
_5174:
	fld	dword [_7580]
	fstp	dword [ebp-16]
	fld	dword [_7581]
	fstp	dword [ebp-12]
	fld	dword [_7582]
	fstp	dword [ebp-20]
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	esi,eax
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+20]
	cmp	eax,0
	jne	_5188
	mov	eax,dword [ebp-24]
	fld	dword [eax+8]
	fstp	dword [ebp-16]
	mov	eax,dword [ebp-24]
	fld	dword [eax+12]
	fstp	dword [ebp-12]
	mov	eax,dword [ebp-24]
	fld	dword [eax+16]
	fstp	dword [ebp-20]
	jmp	_5189
_5188:
	mov	dword [ebp-4],0
	sub	eax,1
	mov	dword [ebp-28],eax
	jmp	_5191
_414:
	mov	eax,dword [ebp-36]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	ebx,dword [edx+eax*4+24]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebp-40]
	mov	edi,dword [eax+edx*4+24]
	mov	eax,esi
	push	dword [ebp-24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+84]
	add	esp,8
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,8
	fld	dword [ebx+12]
	fmul	dword [esi+8]
	fld	dword [ebp-16]
	faddp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [ebx+12]
	fmul	dword [esi+12]
	fld	dword [ebp-12]
	faddp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebx+12]
	fmul	dword [esi+16]
	fld	dword [ebp-20]
	faddp	st1,st0
	fstp	dword [ebp-20]
_412:
	add	dword [ebp-4],1
_5191:
	mov	eax,dword [ebp-28]
	cmp	dword [ebp-4],eax
	jle	_414
_413:
_5189:
	fld	dword [ebp-20]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+24]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-12]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+20]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+16]
	sub	esp,4
	fstp	dword [esp]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	jmp	_3198
_3198:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_calculateVerticesAndNormals:
	push	ebp
	mov	ebp,esp
	sub	esp,100
	push	ebx
	push	esi
	push	edi
	cmp	dword [ebp+20],0
	jg	_5200
	mov	dword [ebp+20],6
_5200:
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	imul	eax,dword [ebp+20]
	mov	edx,dword [ebp+16]
	cmp	dword [edx+20],eax
	jge	_5202
	mov	eax,0
	jmp	_3204
_5202:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-80],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-96],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	dword [ebp-92],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-100],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,4
	mov	dword [ebp-76],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,4
	fstp	dword [ebp-64]
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+132]
	add	esp,4
	mov	dword [ebp-88],eax
	mov	dword [ebp-72],0
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-52],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-60],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-48],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-44],eax
	mov	dword [ebp-68],0
	mov	eax,dword [ebp-100]
	sub	eax,1
	mov	dword [ebp-84],eax
	jmp	_5227
_417:
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp-96]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp-56],eax
	mov	eax,dword [ebp-48]
	push	0
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	mov	eax,dword [ebp-44]
	push	0
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	fld1
	fld	dword [ebp-64]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_5232
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+8]
	fld	dword [eax+8]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+8]
	fld	dword [eax+12]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+8]
	fld	dword [eax+16]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+16]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+12]
	fld	dword [eax+8]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+12]
	fld	dword [eax+12]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+12]
	fld	dword [eax+16]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+16]
	jmp	_5233
_5232:
	fld	dword [ebp-64]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+8]
	fmul	dword [eax+8]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+8]
	fld	dword [ebp-64]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+8]
	fmul	dword [eax+12]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+12]
	fld	dword [ebp-64]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+8]
	fmul	dword [eax+16]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+16]
	fld	dword [ebp-64]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+12]
	fmul	dword [eax+8]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+8]
	fld	dword [ebp-64]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+12]
	fmul	dword [eax+12]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+12]
	fld	dword [ebp-64]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+12]
	fmul	dword [eax+16]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+16]
	mov	esi,0
	mov	eax,dword [ebp-88]
	sub	eax,1
	mov	edi,eax
	jmp	_5235
_420:
	mov	eax,dword [ebp-76]
	mov	eax,dword [eax+esi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	edx,dword [ebp-68]
	mov	ebx,dword [eax+edx*4+24]
	mov	eax,dword [ebp+12]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,8
	mov	eax,dword [ebp-48]
	fld	dword [eax+8]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+8]
	faddp	st1,st0
	mov	eax,dword [ebp-48]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-48]
	fld	dword [eax+12]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+12]
	faddp	st1,st0
	mov	eax,dword [ebp-48]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-48]
	fld	dword [eax+16]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+16]
	faddp	st1,st0
	mov	eax,dword [ebp-48]
	fstp	dword [eax+16]
	mov	eax,dword [ebp-44]
	fld	dword [eax+8]
	fld	st1
	mov	eax,dword [ebx+12]
	fmul	dword [eax+8]
	faddp	st1,st0
	mov	eax,dword [ebp-44]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-44]
	fld	dword [eax+12]
	fld	st1
	mov	eax,dword [ebx+12]
	fmul	dword [eax+12]
	faddp	st1,st0
	mov	eax,dword [ebp-44]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-44]
	fld	dword [eax+16]
	mov	eax,dword [ebx+12]
	fxch	st1
	fmul	dword [eax+16]
	faddp	st1,st0
	mov	eax,dword [ebp-44]
	fstp	dword [eax+16]
_418:
	add	esi,1
_5235:
	cmp	esi,edi
	jle	_420
_419:
_5233:
	fld	dword [_7600]
	fstp	dword [ebp-24]
	fld	dword [_7601]
	fstp	dword [ebp-16]
	fld	dword [_7602]
	fstp	dword [ebp-20]
	fld	dword [_7606]
	fstp	dword [ebp-40]
	fld	dword [_7607]
	fstp	dword [ebp-32]
	fld	dword [_7608]
	fstp	dword [ebp-36]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+20]
	cmp	eax,0
	jne	_5249
	mov	eax,dword [ebp-48]
	fld	dword [eax+8]
	fstp	dword [ebp-24]
	mov	eax,dword [ebp-48]
	fld	dword [eax+12]
	fstp	dword [ebp-16]
	mov	eax,dword [ebp-48]
	fld	dword [eax+16]
	fstp	dword [ebp-20]
	mov	eax,dword [ebp-44]
	fld	dword [eax+8]
	fstp	dword [ebp-40]
	mov	eax,dword [ebp-44]
	fld	dword [eax+12]
	fstp	dword [ebp-32]
	mov	eax,dword [ebp-44]
	fld	dword [eax+16]
	fstp	dword [ebp-36]
	jmp	_5250
_5249:
	mov	dword [ebp-4],0
	sub	eax,1
	mov	dword [ebp-28],eax
	jmp	_5252
_423:
	mov	eax,dword [ebp-56]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	esi,dword [edx+eax*4+24]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-80]
	mov	ebx,dword [eax+edx*4+24]
	mov	eax,dword [ebp-52]
	push	dword [ebp-48]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	edi,dword [ebp-52]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+84]
	add	esp,8
	mov	edi,dword [ebp-52]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	push	eax
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+68]
	add	esp,8
	fld	dword [esi+12]
	mov	eax,dword [ebp-52]
	fmul	dword [eax+8]
	fld	dword [ebp-24]
	faddp	st1,st0
	fstp	dword [ebp-24]
	fld	dword [esi+12]
	mov	eax,dword [ebp-52]
	fmul	dword [eax+12]
	fld	dword [ebp-16]
	faddp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [esi+12]
	mov	eax,dword [ebp-52]
	fmul	dword [eax+16]
	fld	dword [ebp-20]
	faddp	st1,st0
	fstp	dword [ebp-20]
	mov	eax,dword [ebp-60]
	push	dword [ebp-44]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	edi,dword [ebp-60]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+84]
	add	esp,8
	fld	dword [esi+12]
	mov	eax,dword [ebp-60]
	fmul	dword [eax+8]
	fld	dword [ebp-40]
	faddp	st1,st0
	fstp	dword [ebp-40]
	fld	dword [esi+12]
	mov	eax,dword [ebp-60]
	fmul	dword [eax+12]
	fld	dword [ebp-32]
	faddp	st1,st0
	fstp	dword [ebp-32]
	fld	dword [esi+12]
	mov	eax,dword [ebp-60]
	fmul	dword [eax+16]
	fld	dword [ebp-36]
	faddp	st1,st0
	fstp	dword [ebp-36]
_421:
	add	dword [ebp-4],1
_5252:
	mov	eax,dword [ebp-28]
	cmp	dword [ebp-4],eax
	jle	_423
_422:
_5250:
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	cmp	eax,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_5267
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	sete	al
	movzx	eax,al
_5267:
	cmp	eax,0
	je	_5269
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp-92]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+8]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_5271
	fld	dword [ebp-24]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+16]
	mov	edx,dword [ebp-72]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-72]
	add	edx,1
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+20]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-72]
	add	edx,2
	fld	dword [ebp-20]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+24]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
_5271:
	jmp	_5272
_5269:
	fld	dword [ebp-24]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+16]
	mov	edx,dword [ebp-72]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-72]
	add	edx,1
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+20]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-72]
	add	edx,2
	fld	dword [ebp-20]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+24]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
_5272:
	mov	eax,dword [ebp+8]
	movzx	eax,byte [eax+12]
	mov	eax,eax
	cmp	eax,1
	jne	_5273
	fld	dword [ebp-40]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+16]
	fstp	dword [ebp-40]
	fld	dword [ebp-32]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+20]
	fstp	dword [ebp-32]
	fld	dword [ebp-36]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+24]
	fstp	dword [ebp-36]
	fld1
	fstp	qword [ebp-12]
	fld	dword [ebp-40]
	fmul	dword [ebp-40]
	fld	dword [ebp-32]
	fmul	dword [ebp-32]
	faddp	st1,st0
	fld	dword [ebp-36]
	fmul	dword [ebp-36]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-12]
	fdivrp	st1,st0
	fstp	qword [ebp-12]
	fld	qword [ebp-12]
	mov	edx,dword [ebp-72]
	add	edx,3
	fld	dword [ebp-40]
	fmul	st0,st1
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-72]
	add	edx,4
	fld	dword [ebp-32]
	fmul	st0,st1
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-72]
	add	edx,5
	fld	dword [ebp-36]
	fmulp	st1,st0
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	jmp	_5275
_5273:
	mov	edx,dword [ebp-72]
	add	edx,3
	fld	dword [ebp-40]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-72]
	add	edx,4
	fld	dword [ebp-32]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-72]
	add	edx,5
	fld	dword [ebp-36]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
_5275:
	mov	eax,dword [ebp+20]
	add	dword [ebp-72],eax
_415:
	add	dword [ebp-68],1
_5227:
	mov	eax,dword [ebp-84]
	cmp	dword [ebp-68],eax
	jle	_417
_416:
	mov	eax,dword [ebp-100]
	jmp	_3204
_3204:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_calculateVerticesNormalsAndTexCoords:
	push	ebp
	mov	ebp,esp
	sub	esp,100
	push	ebx
	push	esi
	push	edi
	cmp	dword [ebp+20],0
	jge	_5276
	mov	dword [ebp+20],0
_5276:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-76],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-96],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	dword [ebp-72],eax
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+20]
	mov	dword [ebp-92],eax
	mov	eax,dword [ebp+20]
	cmp	eax,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_5287
	mov	eax,dword [ebp+20]
	cmp	eax,dword [ebp-92]
	setg	al
	movzx	eax,al
_5287:
	cmp	eax,0
	je	_5289
	cmp	dword [ebp-92],0
	je	_5290
	mov	eax,-1
	jmp	_3210
_5290:
_5289:
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	dword [ebp-88],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-100],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,4
	mov	dword [ebp-68],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,4
	fstp	dword [ebp-60]
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+132]
	add	esp,4
	mov	dword [ebp-84],eax
	mov	dword [ebp-56],0
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-48],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-44],eax
	mov	dword [ebp-64],0
	mov	eax,dword [ebp-100]
	sub	eax,1
	mov	dword [ebp-80],eax
	jmp	_5307
_426:
	mov	edx,dword [ebp-64]
	mov	eax,dword [ebp-96]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp-52],eax
	mov	eax,dword [ebp-48]
	push	0
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	mov	eax,dword [ebp-44]
	push	0
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	fld1
	fld	dword [ebp-60]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_5312
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fld	dword [eax+8]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fld	dword [eax+12]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fld	dword [eax+16]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+16]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fld	dword [eax+8]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fld	dword [eax+12]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fld	dword [eax+16]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+16]
	jmp	_5313
_5312:
	fld	dword [ebp-60]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fmul	dword [eax+8]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+8]
	fld	dword [ebp-60]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fmul	dword [eax+12]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+12]
	fld	dword [ebp-60]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fmul	dword [eax+16]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+16]
	fld	dword [ebp-60]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fmul	dword [eax+8]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+8]
	fld	dword [ebp-60]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fmul	dword [eax+12]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+12]
	fld	dword [ebp-60]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fmul	dword [eax+16]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+16]
	mov	esi,0
	mov	eax,dword [ebp-84]
	sub	eax,1
	mov	edi,eax
	jmp	_5315
_429:
	mov	eax,dword [ebp-68]
	mov	eax,dword [eax+esi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	edx,dword [ebp-64]
	mov	ebx,dword [eax+edx*4+24]
	mov	eax,dword [ebp+12]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,8
	mov	eax,dword [ebp-48]
	fld	dword [eax+8]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+8]
	faddp	st1,st0
	mov	eax,dword [ebp-48]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-48]
	fld	dword [eax+12]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+12]
	faddp	st1,st0
	mov	eax,dword [ebp-48]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-48]
	fld	dword [eax+16]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+16]
	faddp	st1,st0
	mov	eax,dword [ebp-48]
	fstp	dword [eax+16]
	mov	eax,dword [ebp-44]
	fld	dword [eax+8]
	fld	st1
	mov	eax,dword [ebx+12]
	fmul	dword [eax+8]
	faddp	st1,st0
	mov	eax,dword [ebp-44]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-44]
	fld	dword [eax+12]
	fld	st1
	mov	eax,dword [ebx+12]
	fmul	dword [eax+12]
	faddp	st1,st0
	mov	eax,dword [ebp-44]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-44]
	fld	dword [eax+16]
	mov	eax,dword [ebx+12]
	fxch	st1
	fmul	dword [eax+16]
	faddp	st1,st0
	mov	eax,dword [ebp-44]
	fstp	dword [eax+16]
_427:
	add	esi,1
_5315:
	cmp	esi,edi
	jle	_429
_428:
_5313:
	fld	dword [_7632]
	fstp	dword [ebp-24]
	fld	dword [_7633]
	fstp	dword [ebp-16]
	fld	dword [_7634]
	fstp	dword [ebp-20]
	fld	dword [_7638]
	fstp	dword [ebp-36]
	fld	dword [_7639]
	fstp	dword [ebp-28]
	fld	dword [_7640]
	fstp	dword [ebp-32]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+20]
	cmp	eax,0
	jne	_5329
	mov	eax,dword [ebp-48]
	fld	dword [eax+8]
	fstp	dword [ebp-24]
	mov	eax,dword [ebp-48]
	fld	dword [eax+12]
	fstp	dword [ebp-16]
	mov	eax,dword [ebp-48]
	fld	dword [eax+16]
	fstp	dword [ebp-20]
	mov	eax,dword [ebp-44]
	fld	dword [eax+8]
	fstp	dword [ebp-36]
	mov	eax,dword [ebp-44]
	fld	dword [eax+12]
	fstp	dword [ebp-28]
	mov	eax,dword [ebp-44]
	fld	dword [eax+16]
	fstp	dword [ebp-32]
	jmp	_5330
_5329:
	mov	dword [ebp-4],0
	sub	eax,1
	mov	dword [ebp-40],eax
	jmp	_5332
_432:
	mov	eax,dword [ebp-52]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	ebx,dword [edx+eax*4+24]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebp-76]
	mov	edi,dword [eax+edx*4+24]
	push	dword [ebp-48]
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	mov	esi,eax
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+84]
	add	esp,8
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,8
	fld	dword [ebx+12]
	fmul	dword [esi+8]
	fld	dword [ebp-24]
	faddp	st1,st0
	fstp	dword [ebp-24]
	fld	dword [ebx+12]
	fmul	dword [esi+12]
	fld	dword [ebp-16]
	faddp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [ebx+12]
	fmul	dword [esi+16]
	fld	dword [ebp-20]
	faddp	st1,st0
	fstp	dword [ebp-20]
	push	dword [ebp-44]
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	mov	esi,eax
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+84]
	add	esp,8
	fld	dword [ebx+12]
	fmul	dword [esi+8]
	fld	dword [ebp-36]
	faddp	st1,st0
	fstp	dword [ebp-36]
	fld	dword [ebx+12]
	fmul	dword [esi+12]
	fld	dword [ebp-28]
	faddp	st1,st0
	fstp	dword [ebp-28]
	fld	dword [ebx+12]
	fmul	dword [esi+16]
	fld	dword [ebp-32]
	faddp	st1,st0
	fstp	dword [ebp-32]
_430:
	add	dword [ebp-4],1
_5332:
	mov	eax,dword [ebp-40]
	cmp	dword [ebp-4],eax
	jle	_432
_431:
_5330:
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	cmp	eax,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_5347
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	sete	al
	movzx	eax,al
_5347:
	cmp	eax,0
	je	_5349
	mov	edx,dword [ebp-64]
	mov	eax,dword [ebp-88]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+8]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_5351
	fld	dword [ebp-24]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+16]
	mov	edx,dword [ebp-56]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-56]
	add	edx,1
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+20]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-56]
	add	edx,2
	fld	dword [ebp-20]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+24]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
_5351:
	jmp	_5352
_5349:
	fld	dword [ebp-24]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+16]
	mov	edx,dword [ebp-56]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-56]
	add	edx,1
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+20]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-56]
	add	edx,2
	fld	dword [ebp-20]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+24]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
_5352:
	mov	eax,dword [ebp+8]
	movzx	eax,byte [eax+12]
	mov	eax,eax
	cmp	eax,1
	jne	_5353
	fld	dword [ebp-36]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+16]
	fstp	dword [ebp-36]
	fld	dword [ebp-28]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+20]
	fstp	dword [ebp-28]
	fld	dword [ebp-32]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+24]
	fstp	dword [ebp-32]
	fld1
	fstp	qword [ebp-12]
	fld	dword [ebp-36]
	fmul	dword [ebp-36]
	fld	dword [ebp-28]
	fmul	dword [ebp-28]
	faddp	st1,st0
	fld	dword [ebp-32]
	fmul	dword [ebp-32]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-12]
	fdivrp	st1,st0
	fstp	qword [ebp-12]
	fld	qword [ebp-12]
	mov	edx,dword [ebp-56]
	add	edx,3
	fld	dword [ebp-36]
	fmul	st0,st1
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-56]
	add	edx,4
	fld	dword [ebp-28]
	fmul	st0,st1
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-56]
	add	edx,5
	fld	dword [ebp-32]
	fmulp	st1,st0
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	jmp	_5355
_5353:
	mov	edx,dword [ebp-56]
	add	edx,3
	fld	dword [ebp-36]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-56]
	add	edx,4
	fld	dword [ebp-28]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	edx,dword [ebp-56]
	add	edx,5
	fld	dword [ebp-32]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
_5355:
	add	dword [ebp-56],6
	cmp	dword [ebp-92],0
	jne	_5356
	mov	eax,dword [ebp+20]
	shl	eax,1
	add	dword [ebp-56],eax
	jmp	_5357
_5356:
	mov	edx,0
	mov	eax,dword [ebp+20]
	sub	eax,1
	jmp	_5359
_435:
	mov	ecx,dword [ebp-72]
	mov	ebx,dword [ecx+edx*4+24]
	mov	ecx,dword [ebp-64]
	mov	ecx,dword [ebx+ecx*4+24]
	fld	dword [ecx+8]
	mov	esi,dword [ebp-56]
	mov	ebx,dword [ebp+16]
	fstp	dword [ebx+esi*4+24]
	mov	ebx,dword [ebp-56]
	add	ebx,1
	fld	dword [ecx+12]
	mov	ecx,dword [ebp+16]
	fstp	dword [ecx+ebx*4+24]
	add	dword [ebp-56],2
_433:
	add	edx,1
_5359:
	cmp	edx,eax
	jle	_435
_434:
_5357:
_424:
	add	dword [ebp-64],1
_5307:
	mov	eax,dword [ebp-80]
	cmp	dword [ebp-64],eax
	jle	_426
_425:
	mov	eax,dword [ebp-100]
	jmp	_3210
_3210:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_update:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	mov	dword [ebp-20],eax
	mov	dword [ebp-16],0
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-24],eax
	jmp	_5365
_438:
	mov	edx,dword [ebp-16]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+edx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	mov	dword [ebp-8],eax
	mov	dword [ebp-4],0
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_5370
_441:
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-8]
	mov	esi,dword [eax+edx*4+24]
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	jne	_5374
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	ebx,eax
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	edx,dword [ebp+8]
	push	eax
	push	ebx
	push	esi
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+96]
	add	esp,16
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	eax,dword [eax+20]
	mov	ebx,0
	sub	eax,1
	mov	edi,eax
	jmp	_5383
_444:
	mov	eax,esi
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,8
	mov	eax,eax
	cmp	eax,1
	jne	_5386
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [ebp+8]
	push	edx
	push	ebx
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,16
_5386:
_442:
	add	ebx,1
_5383:
	cmp	ebx,edi
	jle	_444
_443:
_5374:
_439:
	add	dword [ebp-4],1
_5370:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-4],eax
	jle	_441
_440:
_436:
	add	dword [ebp-16],1
_5365:
	mov	eax,dword [ebp-24]
	cmp	dword [ebp-16],eax
	jle	_438
_437:
	mov	eax,0
	jmp	_3213
_3213:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_setNormalization:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	edx,dword [ebp+8]
	movzx	eax,byte [ebp+12]
	mov	eax,eax
	mov	byte [ebp-4],al
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	mov	byte [edx+12],al
	mov	eax,0
	jmp	_3217
_3217:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_setAxisFactorX:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+16]
	mov	byte [eax+12],1
	mov	eax,0
	jmp	_3221
_3221:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_setAxisFactorY:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+20]
	mov	byte [eax+12],1
	mov	eax,0
	jmp	_3225
_3225:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_setAxisFactorZ:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [eax+24]
	mov	byte [eax+12],1
	mov	eax,0
	jmp	_3229
_3229:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_calculateVerticesAndNormalsInternal:
	push	ebp
	mov	ebp,esp
	sub	esp,96
	push	ebx
	push	esi
	push	edi
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+16]
	mov	ebx,dword [eax+20]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+84]
	add	esp,4
	cmp	ebx,eax
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_5393
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+20]
	mov	ebx,dword [eax+20]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+84]
	add	esp,4
	cmp	ebx,eax
	setl	al
	movzx	eax,al
_5393:
	cmp	eax,0
	je	_5395
	mov	eax,0
	jmp	_3235
_5395:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-72],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-92],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	dword [ebp-88],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-96],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,4
	mov	dword [ebp-76],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,4
	fstp	dword [ebp-64]
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+132]
	add	esp,4
	mov	dword [ebp-84],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-56],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-60],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-44],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-48],eax
	mov	dword [ebp-68],0
	mov	eax,dword [ebp-96]
	sub	eax,1
	mov	dword [ebp-80],eax
	jmp	_5419
_447:
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp-92]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp-52],eax
	mov	eax,dword [ebp-44]
	push	0
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	mov	eax,dword [ebp-48]
	push	0
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	fld1
	fld	dword [ebp-64]
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_5424
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fld	dword [eax+8]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fld	dword [eax+12]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fld	dword [eax+16]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+16]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fld	dword [eax+8]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fld	dword [eax+12]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fld	dword [eax+16]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+16]
	jmp	_5425
_5424:
	fld	dword [ebp-64]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fmul	dword [eax+8]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+8]
	fld	dword [ebp-64]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fmul	dword [eax+12]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+12]
	fld	dword [ebp-64]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	fmul	dword [eax+16]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+16]
	fld	dword [ebp-64]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fmul	dword [eax+8]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+8]
	fld	dword [ebp-64]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fmul	dword [eax+12]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+12]
	fld	dword [ebp-64]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+12]
	fmul	dword [eax+16]
	mov	eax,dword [ebp-48]
	fstp	dword [eax+16]
	mov	esi,0
	mov	eax,dword [ebp-84]
	sub	eax,1
	mov	edi,eax
	jmp	_5427
_450:
	mov	eax,dword [ebp-76]
	mov	eax,dword [eax+esi*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	mov	edx,dword [ebp-68]
	mov	ebx,dword [eax+edx*4+24]
	mov	eax,dword [ebp+12]
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,8
	mov	eax,dword [ebp-44]
	fld	dword [eax+8]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+8]
	faddp	st1,st0
	mov	eax,dword [ebp-44]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-44]
	fld	dword [eax+12]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+12]
	faddp	st1,st0
	mov	eax,dword [ebp-44]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-44]
	fld	dword [eax+16]
	fld	st1
	mov	eax,dword [ebx+8]
	fmul	dword [eax+16]
	faddp	st1,st0
	mov	eax,dword [ebp-44]
	fstp	dword [eax+16]
	mov	eax,dword [ebp-48]
	fld	dword [eax+8]
	fld	st1
	mov	eax,dword [ebx+12]
	fmul	dword [eax+8]
	faddp	st1,st0
	mov	eax,dword [ebp-48]
	fstp	dword [eax+8]
	mov	eax,dword [ebp-48]
	fld	dword [eax+12]
	fld	st1
	mov	eax,dword [ebx+12]
	fmul	dword [eax+12]
	faddp	st1,st0
	mov	eax,dword [ebp-48]
	fstp	dword [eax+12]
	mov	eax,dword [ebp-48]
	fld	dword [eax+16]
	mov	eax,dword [ebx+12]
	fxch	st1
	fmul	dword [eax+16]
	faddp	st1,st0
	mov	eax,dword [ebp-48]
	fstp	dword [eax+16]
_448:
	add	esi,1
_5427:
	cmp	esi,edi
	jle	_450
_449:
_5425:
	fld	dword [_7679]
	fstp	dword [ebp-20]
	fld	dword [_7680]
	fstp	dword [ebp-16]
	fld	dword [_7681]
	fstp	dword [ebp-28]
	fld	dword [_7685]
	fstp	dword [ebp-40]
	fld	dword [_7686]
	fstp	dword [ebp-36]
	fld	dword [_7687]
	fstp	dword [ebp-32]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+20]
	cmp	eax,0
	jne	_5441
	mov	eax,dword [ebp-44]
	fld	dword [eax+8]
	fstp	dword [ebp-20]
	mov	eax,dword [ebp-44]
	fld	dword [eax+12]
	fstp	dword [ebp-16]
	mov	eax,dword [ebp-44]
	fld	dword [eax+16]
	fstp	dword [ebp-28]
	mov	eax,dword [ebp-48]
	fld	dword [eax+8]
	fstp	dword [ebp-40]
	mov	eax,dword [ebp-48]
	fld	dword [eax+12]
	fstp	dword [ebp-36]
	mov	eax,dword [ebp-48]
	fld	dword [eax+16]
	fstp	dword [ebp-32]
	jmp	_5442
_5441:
	mov	dword [ebp-4],0
	sub	eax,1
	mov	dword [ebp-24],eax
	jmp	_5444
_453:
	mov	eax,dword [ebp-52]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	esi,dword [edx+eax*4+24]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-72]
	mov	ebx,dword [eax+edx*4+24]
	mov	eax,dword [ebp-56]
	push	dword [ebp-44]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	edi,dword [ebp-56]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+84]
	add	esp,8
	mov	edi,dword [ebp-56]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	push	eax
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+68]
	add	esp,8
	fld	dword [esi+12]
	mov	eax,dword [ebp-56]
	fmul	dword [eax+8]
	fld	dword [ebp-20]
	faddp	st1,st0
	fstp	dword [ebp-20]
	fld	dword [esi+12]
	mov	eax,dword [ebp-56]
	fmul	dword [eax+12]
	fld	dword [ebp-16]
	faddp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [esi+12]
	mov	eax,dword [ebp-56]
	fmul	dword [eax+16]
	fld	dword [ebp-28]
	faddp	st1,st0
	fstp	dword [ebp-28]
	mov	eax,dword [ebp-60]
	push	dword [ebp-48]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	edi,dword [ebp-60]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+84]
	add	esp,8
	fld	dword [esi+12]
	mov	eax,dword [ebp-60]
	fmul	dword [eax+8]
	fld	dword [ebp-40]
	faddp	st1,st0
	fstp	dword [ebp-40]
	fld	dword [esi+12]
	mov	eax,dword [ebp-60]
	fmul	dword [eax+12]
	fld	dword [ebp-36]
	faddp	st1,st0
	fstp	dword [ebp-36]
	fld	dword [esi+12]
	mov	eax,dword [ebp-60]
	fmul	dword [eax+16]
	fld	dword [ebp-32]
	faddp	st1,st0
	fstp	dword [ebp-32]
_451:
	add	dword [ebp-4],1
_5444:
	mov	eax,dword [ebp-24]
	cmp	dword [ebp-4],eax
	jle	_453
_452:
_5442:
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp+16]
	cmp	dword [eax+edx*4+24],_bbNullObject
	jne	_5456
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	ecx,dword [ebp-68]
	mov	edx,dword [ebp+16]
	mov	dword [edx+ecx*4+24],eax
_5456:
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp+20]
	cmp	dword [eax+edx*4+24],_bbNullObject
	jne	_5457
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	ecx,dword [ebp-68]
	mov	edx,dword [ebp+20]
	mov	dword [edx+ecx*4+24],eax
_5457:
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	cmp	eax,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_5461
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
_5461:
	cmp	eax,0
	je	_5463
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp-88]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+8]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_5465
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp+16]
	mov	edx,dword [eax+edx*4+24]
	fld	dword [ebp-28]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+24]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+20]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-20]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+16]
	sub	esp,4
	fstp	dword [esp]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,16
_5465:
	jmp	_5467
_5463:
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp+16]
	mov	edx,dword [eax+edx*4+24]
	fld	dword [ebp-28]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+24]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+20]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-20]
	mov	eax,dword [ebp+8]
	fmul	dword [eax+16]
	sub	esp,4
	fstp	dword [esp]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,16
_5467:
	mov	eax,dword [ebp+8]
	movzx	eax,byte [eax+12]
	mov	eax,eax
	cmp	eax,1
	jne	_5469
	fld	dword [ebp-40]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+16]
	fstp	dword [ebp-40]
	fld	dword [ebp-36]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+20]
	fstp	dword [ebp-36]
	fld	dword [ebp-32]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+24]
	fstp	dword [ebp-32]
	fld1
	fstp	qword [ebp-12]
	fld	dword [ebp-40]
	fmul	dword [ebp-40]
	fld	dword [ebp-36]
	fmul	dword [ebp-36]
	faddp	st1,st0
	fld	dword [ebp-32]
	fmul	dword [ebp-32]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-12]
	fdivrp	st1,st0
	fstp	qword [ebp-12]
	fld	qword [ebp-12]
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp+20]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [ebp-32]
	fmul	st0,st1
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-36]
	fmul	st0,st1
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-40]
	fmulp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	jmp	_5472
_5469:
	mov	edx,dword [ebp-68]
	mov	eax,dword [ebp+20]
	mov	eax,dword [eax+edx*4+24]
	push	dword [ebp-32]
	push	dword [ebp-36]
	push	dword [ebp-40]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
_5472:
_445:
	add	dword [ebp-68],1
_5419:
	mov	eax,dword [ebp-80]
	cmp	dword [ebp-68],eax
	jle	_447
_446:
	mov	eax,dword [ebp-96]
	jmp	_3235
_3235:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalPhysique_calculateTangentSpacesInternal:
	push	ebp
	mov	ebp,esp
	sub	esp,68
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	mov	dword [ebp-60],0
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_5476
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	cmp	ebx,dword [eax+20]
	setge	al
	movzx	eax,al
_5476:
	cmp	eax,0
	je	_5478
	push	_454
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,0
	jmp	_3241
_5478:
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+84]
	add	esp,4
	mov	edx,dword [ebp+20]
	cmp	dword [edx+20],eax
	jge	_5480
	push	_455
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,0
	jmp	_3241
_5480:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-44],eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-56],eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [ebp-52],eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-64],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	dword [ebp-40],0
	mov	eax,dword [ebp-64]
	sub	eax,1
	mov	dword [ebp-48],eax
	jmp	_5495
_458:
	mov	edx,dword [ebp-40]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp-36],eax
	mov	edx,dword [ebp-40]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp-28],eax
	fld	dword [_7708]
	fstp	dword [ebp-20]
	fld	dword [_7709]
	fstp	dword [ebp-16]
	fld	dword [_7710]
	fstp	dword [ebp-24]
	mov	eax,dword [ebp-28]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+20]
	mov	dword [ebp-4],0
	sub	eax,1
	mov	dword [ebp-32],eax
	jmp	_5504
_461:
	mov	eax,dword [ebp-28]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp-4]
	mov	esi,dword [edx+eax*4+24]
	mov	edx,dword [esi+8]
	mov	eax,dword [ebp-44]
	mov	edi,dword [eax+edx*4+24]
	mov	eax,ebx
	mov	edx,dword [ebp-36]
	push	dword [edx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,8
	fld	dword [esi+12]
	fmul	dword [ebx+8]
	fld	dword [ebp-20]
	faddp	st1,st0
	fstp	dword [ebp-20]
	fld	dword [esi+12]
	fmul	dword [ebx+12]
	fld	dword [ebp-16]
	faddp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [esi+12]
	fmul	dword [ebx+16]
	fld	dword [ebp-24]
	faddp	st1,st0
	fstp	dword [ebp-24]
_459:
	add	dword [ebp-4],1
_5504:
	mov	eax,dword [ebp-32]
	cmp	dword [ebp-4],eax
	jle	_461
_460:
	mov	edx,dword [ebp-40]
	mov	eax,dword [ebp+20]
	cmp	dword [eax+edx*4+24],_bbNullObject
	jne	_5511
	push	_c3d_cal3d_CalTangentSpace
	call	_bbObjectNew
	add	esp,4
	mov	ecx,dword [ebp-40]
	mov	edx,dword [ebp+20]
	mov	dword [edx+ecx*4+24],eax
_5511:
	mov	eax,dword [ebp+8]
	movzx	eax,byte [eax+12]
	mov	eax,eax
	cmp	eax,1
	jne	_5512
	fld	dword [ebp-20]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+16]
	fstp	dword [ebp-20]
	fld	dword [ebp-16]
	mov	eax,dword [ebp+8]
	fdiv	dword [eax+20]
	fstp	dword [ebp-16]
	mov	eax,dword [ebp-60]
	mov	dword [ebp+-68],eax
	fild	dword [ebp+-68]
	fstp	dword [ebp-24]
	fld1
	fstp	qword [ebp-12]
	fld	dword [ebp-20]
	fmul	dword [ebp-20]
	fld	dword [ebp-16]
	fmul	dword [ebp-16]
	faddp	st1,st0
	fld	dword [ebp-24]
	fmul	dword [ebp-24]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-12]
	fdivrp	st1,st0
	fstp	qword [ebp-12]
	fld	qword [ebp-12]
	mov	edx,dword [ebp-40]
	mov	eax,dword [ebp+20]
	mov	eax,dword [eax+edx*4+24]
	mov	eax,dword [eax+8]
	fld	dword [ebp-24]
	fmul	st0,st1
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-16]
	fmul	st0,st1
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-20]
	fmulp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	jmp	_5516
_5512:
	mov	edx,dword [ebp-40]
	mov	eax,dword [ebp+20]
	mov	eax,dword [eax+edx*4+24]
	mov	eax,dword [eax+8]
	push	dword [ebp-24]
	push	dword [ebp-16]
	push	dword [ebp-20]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
_5516:
	mov	edx,dword [ebp-40]
	mov	eax,dword [ebp+20]
	mov	edx,dword [eax+edx*4+24]
	mov	eax,dword [ebp-36]
	fld	dword [eax+12]
	fstp	dword [edx+12]
_456:
	add	dword [ebp-40],1
_5495:
	mov	eax,dword [ebp-48]
	cmp	dword [ebp-40],eax
	jle	_458
_457:
	mov	eax,dword [ebp-64]
	jmp	_3241
_3241:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpringSystem_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalSpringSystem
	mov	dword [ebx+8],_bbNullObject
	mov	dword [ebx+12],_bbNullObject
	mov	dword [ebx+16],_bbNullObject
	mov	byte [ebx+20],0
	mov	dword [ebx+8],_bbNullObject
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+12],eax
	push	_c3d_cal3d_CalVector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+16],eax
	mov	byte [ebx+20],0
	mov	eax,0
	jmp	_3244
_3244:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpringSystem_FromModel:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	_c3d_cal3d_CalSpringSystem
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	dword [ebx+8],esi
	push	0
	push	-1027329229
	push	0
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	mov	dword [ebx+12],eax
	push	-1090519040
	push	0
	push	0
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	mov	dword [ebx+16],eax
	mov	byte [ebx+20],0
	mov	eax,ebx
	jmp	_3247
_3247:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpringSystem_calculateForces:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+12]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+80]
	add	esp,4
	mov	ebx,eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+76]
	add	esp,4
	mov	dword [ebp-12],eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	dword [ebp-8],eax
	mov	edi,0
	mov	eax,dword [ebx+20]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_5527
_464:
	mov	eax,dword [ebp-12]
	mov	esi,dword [eax+edi*4+24]
	mov	eax,dword [ebp-8]
	mov	ebx,dword [eax+edi*4+24]
	fld	dword [ebx+8]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_5531
	mov	edx,dword [esi+20]
	mov	eax,dword [ebp+8]
	push	dword [eax+12]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [esi+20]
	push	dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
	mov	edx,dword [esi+20]
	mov	eax,dword [ebp+8]
	push	dword [eax+16]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+68]
	add	esp,8
_5531:
_462:
	add	edi,1
_5527:
	cmp	edi,dword [ebp-4]
	jle	_464
_463:
	mov	eax,0
	jmp	_3252
_3252:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpringSystem_calculateVertices:
	push	ebp
	mov	ebp,esp
	sub	esp,84
	push	ebx
	push	esi
	push	edi
	mov	byte [ebp-4],0
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	dword [ebp-36],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	mov	dword [ebp-64],eax
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	dword [ebp-60],eax
	mov	dword [ebp-52],0
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-80],eax
	jmp	_5543
_467:
	mov	edx,dword [ebp-36]
	mov	eax,dword [ebp-52]
	mov	eax,dword [edx+eax*4+24]
	mov	dword [ebp-76],eax
	mov	edx,dword [ebp-52]
	mov	eax,dword [ebp-64]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp-20],eax
	mov	edx,dword [ebp-52]
	mov	eax,dword [ebp-60]
	mov	edi,dword [eax+edx*4+24]
	mov	eax,dword [ebp-20]
	push	dword [eax+12]
	call	dword [_c3d_cal3d_CalVector+48]
	add	esp,4
	mov	dword [ebp-72],eax
	fld	dword [edi+8]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_5549
	mov	eax,dword [ebp-20]
	mov	esi,dword [eax+12]
	mov	eax,dword [ebp-20]
	push	dword [eax+16]
	push	dword [ebp-72]
	call	_c3d_cal3d_vectorSub
	add	esp,8
	push	1065185444
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,8
	mov	ebx,eax
	fld	dword [ebp+16]
	fmul	dword [ebp+16]
	fdiv	dword [edi+8]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-20]
	push	dword [eax+20]
	call	_c3d_cal3d_vectorScalarMult
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,8
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	mov	edx,dword [ebp+8]
	movzx	edx,byte [edx+20]
	mov	edx,edx
	cmp	edx,1
	jne	_5555
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-44],eax
	mov	dword [ebp-28],0
	mov	eax,dword [ebp-44]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-48],eax
	jmp	_5559
_470:
	mov	edx,dword [ebp-28]
	mov	eax,dword [ebp-44]
	mov	eax,dword [eax+edx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	mov	dword [ebp-12],eax
	mov	byte [ebp-4],1
	mov	edi,7696
	mov	esi,-1
	mov	ebx,0
	jmp	_5567
_473:
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+8]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [ebp-20]
	push	dword [eax+12]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+48]
	add	esp,8
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	jne	_5569
	mov	byte [ebp-4],0
	jmp	_5570
_5569:
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+8]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [ebp-20]
	push	dword [eax+12]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+60]
	add	esp,8
	mov	dword [ebp+-84],edi
	fild	dword [ebp+-84]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	je	_7745
	fstp	st0
	jmp	_5573
_7745:
	mov	esi,ebx
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edi,eax
_5573:
_5570:
_471:
	add	ebx,1
_5567:
	cmp	ebx,5
	jle	_473
_472:
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_5574
	cmp	esi,-1
	setne	al
	movzx	eax,al
_5574:
	cmp	eax,0
	je	_5576
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+esi*4+24]
	push	dword [eax+16]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+esi*4+24]
	push	dword [eax+12]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+8]
	mov	eax,dword [eax+esi*4+24]
	push	dword [eax+8]
	call	dword [_c3d_cal3d_CalVector+52]
	add	esp,12
	mov	esi,eax
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	fstp	st0
	add	esp,4
	mov	eax,dword [ebp-20]
	mov	ebx,dword [eax+12]
	mov	dword [ebp+-84],edi
	fild	dword [ebp+-84]
	sub	esp,4
	fstp	dword [esp]
	push	esi
	call	_c3d_cal3d_vectorScalarMult
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,8
_5576:
	mov	byte [ebp-4],1
	mov	ebx,0
	jmp	_5580
_476:
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+8]
	mov	edx,dword [eax+ebx*4+24]
	mov	eax,dword [ebp-20]
	push	dword [eax+12]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+48]
	add	esp,8
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_5582
	mov	byte [ebp-4],0
_5582:
_474:
	add	ebx,1
_5580:
	cmp	ebx,5
	jle	_476
_475:
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,1
	jne	_5583
	mov	eax,dword [ebp-20]
	mov	ecx,dword [eax+12]
	mov	edx,dword [ebp-36]
	mov	eax,dword [ebp-52]
	push	dword [edx+eax*4+24]
	push	ecx
	mov	eax,dword [ecx]
	call	dword [eax+64]
	add	esp,8
_5583:
_468:
	add	dword [ebp-28],1
_5559:
	mov	eax,dword [ebp-48]
	cmp	dword [ebp-28],eax
	jle	_470
_469:
_5555:
	jmp	_5585
_5549:
	mov	eax,dword [ebp-20]
	mov	ecx,dword [eax+12]
	mov	edx,dword [ebp-36]
	mov	eax,dword [ebp-52]
	push	dword [edx+eax*4+24]
	push	ecx
	mov	eax,dword [ecx]
	call	dword [eax+64]
	add	esp,8
_5585:
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+16]
	push	dword [ebp-72]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	edx,dword [ebp-76]
	mov	eax,dword [ebp-20]
	push	dword [eax+12]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+20]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
_465:
	add	dword [ebp-52],1
_5543:
	mov	eax,dword [ebp-80]
	cmp	dword [ebp-52],eax
	jle	_467
_466:
	mov	eax,dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-40],eax
	mov	eax,2
	mov	dword [ebp-56],0
	sub	eax,1
	mov	dword [ebp-68],eax
	jmp	_5595
_479:
	mov	dword [ebp-24],0
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-32],eax
	jmp	_5598
_482:
	mov	edx,dword [ebp-24]
	mov	eax,dword [ebp-40]
	mov	edi,dword [eax+edx*4+24]
	mov	eax,dword [edi+8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp-36]
	push	dword [eax+edx*4+24]
	mov	eax,dword [edi+8]
	mov	edx,dword [eax+4+24]
	mov	eax,dword [ebp-36]
	push	dword [eax+edx*4+24]
	call	_c3d_cal3d_vectorSub
	add	esp,8
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp-16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,4
	fstp	dword [ebp-8]
	fldz
	fld	dword [ebp-8]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_5604
	push	2
	push	_5605
	call	_bbArrayNew1D
	add	esp,8
	mov	ebx,eax
	fld	dword [ebp-8]
	fsub	dword [edi+16]
	fdiv	dword [ebp-8]
	fstp	dword [ebx+24]
	fld	dword [ebx+24]
	fstp	dword [ebx+4+24]
	mov	eax,dword [edi+8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp-60]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+8]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_5607
	fld	dword [ebx+24]
	fdiv	dword [_7729]
	fstp	dword [ebx+24]
	fld	dword [ebx+4+24]
	fdiv	dword [_7730]
	fstp	dword [ebx+4+24]
	jmp	_5608
_5607:
	fldz
	fstp	dword [ebx+24]
_5608:
	mov	eax,dword [edi+8]
	mov	edx,dword [eax+4+24]
	mov	eax,dword [ebp-60]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+8]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	jne	_5609
	fld	dword [ebx+24]
	fmul	dword [_7731]
	fstp	dword [ebx+24]
	fldz
	fstp	dword [ebx+4+24]
_5609:
	mov	eax,dword [edi+8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp-36]
	mov	esi,dword [eax+edx*4+24]
	push	dword [ebx+24]
	push	dword [ebp-16]
	call	_c3d_cal3d_vectorScalarMult
	add	esp,8
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,8
	mov	eax,dword [edi+8]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp-64]
	mov	eax,dword [eax+edx*4+24]
	mov	eax,dword [eax+12]
	mov	edx,dword [edi+8]
	mov	ecx,dword [edx+24]
	mov	edx,dword [ebp-36]
	push	dword [edx+ecx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,dword [edi+8]
	mov	edx,dword [eax+4+24]
	mov	eax,dword [ebp-36]
	mov	esi,dword [eax+edx*4+24]
	push	dword [ebx+4+24]
	push	dword [ebp-16]
	call	_c3d_cal3d_vectorScalarMult
	add	esp,8
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+72]
	add	esp,8
	mov	eax,dword [edi+8]
	mov	edx,dword [eax+4+24]
	mov	eax,dword [ebp-64]
	mov	eax,dword [eax+edx*4+24]
	mov	ecx,dword [eax+12]
	mov	eax,dword [edi+8]
	mov	edx,dword [eax+4+24]
	mov	eax,dword [ebp-36]
	push	dword [eax+edx*4+24]
	push	ecx
	mov	eax,dword [ecx]
	call	dword [eax+64]
	add	esp,8
_5604:
_480:
	add	dword [ebp-24],1
_5598:
	mov	eax,dword [ebp-32]
	cmp	dword [ebp-24],eax
	jle	_482
_481:
_477:
	add	dword [ebp-56],1
_5595:
	mov	eax,dword [ebp-68]
	cmp	dword [ebp-56],eax
	jle	_479
_478:
	mov	eax,0
	jmp	_3257
_3257:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpringSystem_update:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	mov	dword [ebp-16],eax
	mov	dword [ebp-12],0
	mov	eax,dword [ebp-16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-20],eax
	jmp	_5617
_485:
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp-16]
	mov	eax,dword [eax+edx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	esi,0
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_5622
_488:
	mov	eax,dword [ebp-4]
	mov	ebx,dword [eax+esi*4+24]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	cmp	eax,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_5628
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
_5628:
	cmp	eax,0
	je	_5630
	mov	eax,edi
	push	dword [ebp+12]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,12
	mov	eax,edi
	push	dword [ebp+12]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,12
_5630:
_486:
	add	esi,1
_5622:
	cmp	esi,dword [ebp-8]
	jle	_488
_487:
_483:
	add	dword [ebp-12],1
_5617:
	mov	eax,dword [ebp-20]
	cmp	dword [ebp-12],eax
	jle	_485
_484:
	mov	eax,0
	jmp	_3261
_3261:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpringSystem_getGravityVector:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_3264
_3264:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpringSystem_setGravityVector:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,0
	jmp	_3268
_3268:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpringSystem_getForceVector:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+16]
	jmp	_3271
_3271:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpringSystem_setForceVector:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+16]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	mov	eax,0
	jmp	_3275
_3275:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalSpringSystem_setCollisionDetection:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	edx,dword [ebp+8]
	movzx	eax,byte [ebp+12]
	mov	eax,eax
	mov	byte [ebp-4],al
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	mov	byte [edx+20],al
	mov	eax,0
	jmp	_3279
_3279:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_CalRenderer
	mov	dword [ebx+8],_bbNullObject
	mov	dword [ebx+12],_bbNullObject
	mov	dword [ebx+8],_bbNullObject
	mov	dword [ebx+12],_bbNullObject
	mov	eax,0
	jmp	_3282
_3282:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_FromModel:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalRenderer
	call	_bbObjectNew
	add	esp,4
	mov	dword [eax+8],ebx
	jmp	_3285
_3285:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_FromRenderer:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	_c3d_cal3d_CalRenderer
	call	_bbObjectNew
	add	esp,4
	mov	edx,dword [ebx+8]
	mov	dword [eax+8],edx
	mov	edx,dword [ebx+12]
	mov	dword [eax+12],edx
	jmp	_3288
_3288:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_beginRendering:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	cmp	dword [eax+20],0
	jne	_5639
	mov	byte [ebp-4],0
	jmp	_3291
_5639:
	mov	eax,dword [eax+24]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	dword [ebx+12],eax
	cmp	dword [ebx+12],_bbNullObject
	jne	_5641
	mov	byte [ebp-4],0
	jmp	_3291
_5641:
	mov	byte [ebp-4],1
	jmp	_3291
_3291:
	movzx	eax,byte [ebp-4]
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_endRendering:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	dword [eax+12],_bbNullObject
	mov	eax,0
	jmp	_3294
_3294:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getAmbientColor:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [edi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+128]
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_5646
	fldz
	fstp	dword [esi+24]
	fldz
	fstp	dword [esi+4+24]
	fldz
	fstp	dword [esi+8+24]
	fldz
	fstp	dword [esi+12+24]
	mov	eax,0
	jmp	_3298
_5646:
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	fld	dword [eax+8]
	fstp	dword [esi+24]
	fld	dword [eax+12]
	fstp	dword [esi+4+24]
	fld	dword [eax+16]
	fstp	dword [esi+8+24]
	fld	dword [eax+20]
	fstp	dword [esi+12+24]
	mov	eax,0
	jmp	_3298
_3298:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getDiffuseColor:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [edi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+128]
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_5653
	fld	dword [_7780]
	fstp	dword [esi+24]
	fld	dword [_7781]
	fstp	dword [esi+4+24]
	fld	dword [_7782]
	fstp	dword [esi+8+24]
	fld	dword [_7783]
	fstp	dword [esi+12+24]
	mov	eax,0
	jmp	_3302
_5653:
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	fld	dword [eax+8]
	fstp	dword [esi+24]
	fld	dword [eax+12]
	fstp	dword [esi+4+24]
	fld	dword [eax+16]
	fstp	dword [esi+8+24]
	fld	dword [eax+20]
	fstp	dword [esi+12+24]
	mov	eax,0
	jmp	_3302
_3302:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getFaceCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	jmp	_3305
_3305:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getFaces:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,8
	jmp	_3309
_3309:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getMapCount:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+128]
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_5662
	mov	eax,0
	jmp	_3312
_5662:
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	jmp	_3312
_3312:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getMapUserData:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+128]
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_5668
	mov	eax,_bbNullObject
	jmp	_3316
_5668:
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	edx,eax
	cmp	edi,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_5671
	cmp	edi,dword [edx+20]
	setge	al
	movzx	eax,al
_5671:
	cmp	eax,0
	je	_5673
	push	_489
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_3316
_5673:
	mov	eax,dword [edx+edi*4+24]
	mov	eax,dword [eax+12]
	jmp	_3316
_3316:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getMeshCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	mov	eax,dword [eax+20]
	jmp	_3319
_3319:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getNormals:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	jne	_5677
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-8],eax
	cmp	dword [ebp+16],0
	jg	_5682
	mov	dword [ebp+16],3
_5682:
	mov	ecx,0
	mov	edx,0
	mov	eax,dword [ebp-8]
	sub	eax,1
	mov	edi,eax
	jmp	_5685
_492:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+ecx*4+24]
	mov	esi,ecx
	add	esi,1
	fld	dword [eax+12]
	fstp	dword [ebx+esi*4+24]
	mov	esi,ecx
	add	esi,2
	fld	dword [eax+16]
	fstp	dword [ebx+esi*4+24]
	add	ecx,dword [ebp+16]
_490:
	add	edx,1
_5685:
	cmp	edx,edi
	jle	_492
_491:
	mov	eax,dword [ebp-8]
	jmp	_3324
_5677:
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	push	dword [ebp+16]
	push	ebx
	push	dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,16
	jmp	_3324
_3324:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getShininess:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+128]
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_5694
	fld	dword [_7811]
	jmp	_3327
_5694:
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	jmp	_3327
_3327:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getSpecularColor:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	eax,dword [edi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [edi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+128]
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_5700
	fld	dword [_7817]
	fstp	dword [esi+24]
	fld	dword [_7818]
	fstp	dword [esi+4+24]
	fld	dword [_7819]
	fstp	dword [esi+8+24]
	fldz
	fstp	dword [esi+12+24]
	mov	eax,0
	jmp	_3331
_5700:
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	fld	dword [eax+8]
	fstp	dword [esi+24]
	fld	dword [eax+12]
	fstp	dword [esi+4+24]
	fld	dword [eax+16]
	fstp	dword [esi+8+24]
	fld	dword [eax+20]
	fstp	dword [esi+12+24]
	mov	eax,0
	jmp	_3331
_3331:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getSubmeshCount:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	eax,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	mov	edx,eax
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_5705
	cmp	ebx,dword [edx+20]
	setge	al
	movzx	eax,al
_5705:
	cmp	eax,0
	je	_5707
	push	_128
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,0
	jmp	_3335
_5707:
	mov	eax,dword [edx+ebx*4+24]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	jmp	_3335
_3335:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getTextureCoordinates:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	edi,dword [ebp+16]
	mov	eax,dword [ebx+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	cmp	eax,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_5712
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp-4]
	cmp	edx,dword [eax+20]
	setge	al
	movzx	eax,al
_5712:
	cmp	eax,0
	je	_5714
	push	_493
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_3341
_5714:
	mov	eax,dword [ebx+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-8],eax
	cmp	dword [ebp+20],0
	jg	_5717
	mov	dword [ebp+20],2
_5717:
	mov	ecx,0
	mov	edx,0
	mov	eax,dword [ebp-8]
	sub	eax,1
	jmp	_5720
_496:
	mov	esi,dword [ebp+12]
	mov	ebx,dword [ebp-4]
	mov	ebx,dword [ebx+esi*4+24]
	mov	esi,dword [ebx+edx*4+24]
	fld	dword [esi+8]
	fstp	dword [edi+ecx*4+24]
	mov	ebx,ecx
	add	ebx,1
	fld	dword [esi+12]
	fstp	dword [edi+ebx*4+24]
	add	ecx,dword [ebp+20]
_494:
	add	edx,1
_5720:
	cmp	edx,eax
	jle	_496
_495:
	mov	eax,dword [ebp-8]
	jmp	_3341
_3341:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getVertexCount:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	jmp	_3344
_3344:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getVertices:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	jne	_5725
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-8],eax
	cmp	dword [ebp+16],0
	jg	_5730
	mov	dword [ebp+16],3
_5730:
	mov	ecx,0
	mov	edx,0
	mov	eax,dword [ebp-8]
	sub	eax,1
	mov	edi,eax
	jmp	_5733
_499:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+edx*4+24]
	fld	dword [eax+8]
	fstp	dword [ebx+ecx*4+24]
	mov	esi,ecx
	add	esi,1
	fld	dword [eax+12]
	fstp	dword [ebx+esi*4+24]
	mov	esi,ecx
	add	esi,2
	fld	dword [eax+16]
	fstp	dword [ebx+esi*4+24]
	add	ecx,dword [ebp+16]
_497:
	add	edx,1
_5733:
	cmp	edx,edi
	jle	_499
_498:
	mov	eax,dword [ebp-8]
	jmp	_3349
_5725:
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	push	dword [ebp+16]
	push	ebx
	push	dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,16
	jmp	_3349
_3349:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getTangentSpaces:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	mov	edx,eax
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_5741
	cmp	ebx,dword [edx+20]
	setge	al
	movzx	eax,al
_5741:
	cmp	eax,0
	jne	_5744
	mov	eax,dword [esi+12]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,8
	mov	eax,eax
	cmp	eax,0
	sete	al
	movzx	eax,al
_5744:
	cmp	eax,0
	je	_5746
	push	_500
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_3355
_5746:
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	jne	_5748
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [ebp-4],eax
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-8],eax
	cmp	dword [ebp+20],0
	jg	_5754
	mov	dword [ebp+20],4
_5754:
	mov	esi,0
	mov	edi,0
	mov	eax,dword [ebp-8]
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_5757
_503:
	mov	eax,dword [ebp-4]
	mov	ebx,dword [eax+edi*4+24]
	mov	ecx,dword [ebx+8]
	fld	dword [ecx+8]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+esi*4+24]
	mov	edx,esi
	add	edx,1
	fld	dword [ecx+12]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	mov	eax,esi
	add	eax,2
	fld	dword [ecx+16]
	mov	edx,dword [ebp+16]
	fstp	dword [edx+eax*4+24]
	mov	edx,esi
	add	edx,3
	fld	dword [ebx+12]
	mov	eax,dword [ebp+16]
	fstp	dword [eax+edx*4+24]
	add	esi,dword [ebp+20]
_501:
	add	edi,1
_5757:
	cmp	edi,dword [ebp-12]
	jle	_503
_502:
	mov	eax,dword [ebp-8]
	jmp	_3355
_5748:
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	push	dword [ebp+20]
	push	dword [ebp+16]
	push	ebx
	push	dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,20
	jmp	_3355
_3355:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getVerticesAndNormals:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [ebx+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	jne	_5764
	mov	eax,dword [ebx+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	dword [ebp-12],eax
	mov	eax,dword [ebx+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	dword [ebp-8],eax
	mov	eax,dword [ebx+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-16],eax
	cmp	dword [ebp+16],0
	jg	_5771
	mov	dword [ebp+16],6
_5771:
	mov	ebx,0
	mov	ecx,0
	mov	eax,dword [ebp-16]
	sub	eax,1
	mov	dword [ebp-4],eax
	jmp	_5774
_506:
	mov	eax,dword [ebp-12]
	mov	edx,dword [eax+ecx*4+24]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+ecx*4+24]
	fld	dword [edx+8]
	fstp	dword [edi+ebx*4+24]
	mov	esi,ebx
	add	esi,1
	fld	dword [edx+12]
	fstp	dword [edi+esi*4+24]
	mov	esi,ebx
	add	esi,2
	fld	dword [edx+16]
	fstp	dword [edi+esi*4+24]
	mov	edx,ebx
	add	edx,3
	fld	dword [eax+8]
	fstp	dword [edi+edx*4+24]
	mov	edx,ebx
	add	edx,4
	fld	dword [eax+12]
	fstp	dword [edi+edx*4+24]
	mov	edx,ebx
	add	edx,5
	fld	dword [eax+16]
	fstp	dword [edi+edx*4+24]
	add	ebx,dword [ebp+16]
_504:
	add	ecx,1
_5774:
	cmp	ecx,dword [ebp-4]
	jle	_506
_505:
	mov	eax,dword [ebp-16]
	jmp	_3360
_5764:
	mov	eax,dword [ebx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	push	dword [ebp+16]
	push	edi
	push	dword [ebx+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,16
	jmp	_3360
_3360:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_getVerticesNormalsAndTexCoords:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	jne	_5781
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	dword [ebp-16],eax
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	dword [ebp-20],eax
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	mov	ebx,dword [eax+20]
	cmp	dword [ebp+16],0
	jge	_5790
	mov	dword [ebp+16],1
_5790:
	mov	eax,dword [ebp+16]
	cmp	eax,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_5791
	mov	eax,dword [ebp+16]
	cmp	eax,ebx
	setg	al
	movzx	eax,al
_5791:
	cmp	eax,0
	je	_5793
	cmp	ebx,0
	je	_5794
	push	_507
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	eax,-1
	jmp	_3365
_5794:
_5793:
	mov	eax,dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	dword [ebp-24],eax
	cmp	ebx,0
	jne	_5797
	mov	esi,0
	mov	dword [ebp-28],0
	mov	eax,dword [ebp-24]
	sub	eax,1
	mov	edi,eax
	jmp	_5800
_510:
	mov	edx,dword [ebp-16]
	mov	eax,dword [ebp-28]
	mov	ebx,dword [edx+eax*4+24]
	mov	edx,dword [ebp-20]
	mov	eax,dword [ebp-28]
	mov	ecx,dword [edx+eax*4+24]
	fld	dword [ebx+8]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+esi*4+24]
	mov	edx,esi
	add	edx,1
	fld	dword [ebx+12]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	eax,esi
	add	eax,2
	fld	dword [ebx+16]
	mov	edx,dword [ebp+12]
	fstp	dword [edx+eax*4+24]
	mov	edx,esi
	add	edx,3
	fld	dword [ecx+8]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,esi
	add	edx,4
	fld	dword [ecx+12]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,esi
	add	edx,5
	fld	dword [ecx+16]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	eax,esi
	add	eax,6
	mov	edx,dword [ebp+16]
	shl	edx,1
	add	eax,edx
	mov	esi,eax
_508:
	add	dword [ebp-28],1
_5800:
	cmp	dword [ebp-28],edi
	jle	_510
_509:
	jmp	_5804
_5797:
	cmp	dword [ebp+16],1
	jne	_5805
	mov	esi,0
	mov	dword [ebp-28],0
	mov	eax,dword [ebp-24]
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_5806
_513:
	mov	edx,dword [ebp-16]
	mov	eax,dword [ebp-28]
	mov	ebx,dword [edx+eax*4+24]
	mov	edx,dword [ebp-20]
	mov	eax,dword [ebp-28]
	mov	ecx,dword [edx+eax*4+24]
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+24]
	mov	eax,dword [ebp-28]
	mov	edx,dword [edx+eax*4+24]
	fld	dword [ebx+8]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+esi*4+24]
	mov	edi,esi
	add	edi,1
	fld	dword [ebx+12]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edi*4+24]
	mov	eax,esi
	add	eax,2
	fld	dword [ebx+16]
	mov	ebx,dword [ebp+12]
	fstp	dword [ebx+eax*4+24]
	mov	ebx,esi
	add	ebx,3
	fld	dword [ecx+8]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+ebx*4+24]
	mov	ebx,esi
	add	ebx,4
	fld	dword [ecx+12]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+ebx*4+24]
	mov	ebx,esi
	add	ebx,5
	fld	dword [ecx+16]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+ebx*4+24]
	mov	ecx,esi
	add	ecx,6
	fld	dword [edx+8]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+ecx*4+24]
	mov	ecx,esi
	add	ecx,7
	fld	dword [edx+12]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+ecx*4+24]
	add	esi,8
_511:
	add	dword [ebp-28],1
_5806:
	mov	eax,dword [ebp-8]
	cmp	dword [ebp-28],eax
	jle	_513
_512:
	jmp	_5809
_5805:
	mov	esi,0
	mov	dword [ebp-28],0
	mov	eax,dword [ebp-24]
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_5810
_516:
	mov	edx,dword [ebp-16]
	mov	eax,dword [ebp-28]
	mov	ebx,dword [edx+eax*4+24]
	mov	edx,dword [ebp-20]
	mov	eax,dword [ebp-28]
	mov	ecx,dword [edx+eax*4+24]
	fld	dword [ebx+8]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+esi*4+24]
	mov	edx,esi
	add	edx,1
	fld	dword [ebx+12]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,esi
	add	edx,2
	fld	dword [ebx+16]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,esi
	add	edx,3
	fld	dword [ecx+8]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,esi
	add	edx,4
	fld	dword [ecx+12]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	mov	edx,esi
	add	edx,5
	fld	dword [ecx+16]
	mov	eax,dword [ebp+12]
	fstp	dword [eax+edx*4+24]
	add	esi,6
	mov	ecx,0
	mov	eax,dword [ebp+16]
	sub	eax,1
	jmp	_5813
_519:
	mov	edx,dword [ebp-4]
	mov	ebx,dword [edx+ecx*4+24]
	mov	edx,dword [ebp-28]
	mov	edx,dword [ebx+edx*4+24]
	fld	dword [edx+8]
	mov	ebx,dword [ebp+12]
	fstp	dword [ebx+esi*4+24]
	mov	ebx,esi
	add	ebx,1
	fld	dword [edx+12]
	mov	edx,dword [ebp+12]
	fstp	dword [edx+ebx*4+24]
	add	esi,2
_517:
	add	ecx,1
_5813:
	cmp	ecx,eax
	jle	_519
_518:
_514:
	add	dword [ebp-28],1
_5810:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-28],eax
	jle	_516
_515:
_5809:
_5804:
	mov	eax,dword [ebp-24]
	jmp	_3365
_5781:
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	dword [esi+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,16
	jmp	_3365
_3365:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_isTangentsEnabled:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,8
	mov	eax,eax
	mov	byte [ebp-4],al
	jmp	_3369
_3369:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_selectMeshSubmesh:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+16]
	mov	eax,dword [esi+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	mov	edx,eax
	cmp	ebx,0
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_5820
	cmp	ebx,dword [edx+20]
	setge	al
	movzx	eax,al
_5820:
	cmp	eax,0
	je	_5822
	push	_128
	call	_brl_blitz_DebugLog
	add	esp,4
	mov	byte [ebp-4],0
	jmp	_3374
_5822:
	mov	eax,dword [edx+ebx*4+24]
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	dword [esi+12],eax
	cmp	dword [esi+12],_bbNullObject
	jne	_5824
	mov	byte [ebp-4],0
	jmp	_3374
_5824:
	mov	byte [ebp-4],1
	jmp	_3374
_3374:
	movzx	eax,byte [ebp-4]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_CalRenderer_setNormalization:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	edx,dword [ebp+8]
	movzx	eax,byte [ebp+12]
	mov	eax,eax
	mov	byte [ebp-4],al
	mov	eax,dword [edx+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	movzx	edx,byte [ebp-4]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,8
	mov	eax,0
	jmp	_3378
_3378:
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_DeltaTimer_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_c3d_cal3d_DeltaTimer
	mov	dword [ebx+8],60
	mov	dword [ebx+12],0
	mov	dword [ebx+16],0
	mov	dword [ebx+20],0
	mov	dword [ebx+24],0
	fldz
	fstp	dword [ebx+28]
	mov	dword [ebx+32],0
	mov	dword [ebx+36],0
	mov	eax,0
	jmp	_3381
_3381:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_DeltaTimer_CreateDelta:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	_c3d_cal3d_DeltaTimer
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	dword [ebx+8],esi
	call	_bbMilliSecs
	mov	dword [ebx+20],eax
	mov	eax,ebx
	jmp	_3384
_3384:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_cal3d_DeltaTimer_UpdateDelta:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	call	_bbMilliSecs
	mov	dword [ebx+12],eax
	mov	eax,dword [ebx+12]
	sub	eax,dword [ebx+20]
	mov	dword [ebx+24],eax
	mov	eax,dword [ebx+24]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fld	dword [_7881]
	mov	eax,dword [ebx+8]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fdivp	st1,st0
	fdivp	st1,st0
	fstp	dword [ebx+28]
	fld	dword [ebx+28]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_5828
	fld	dword [_7882]
	fstp	dword [ebx+28]
_5828:
	add	dword [ebx+32],1
	call	_bbMilliSecs
	sub	eax,dword [ebx+16]
	cmp	eax,1000
	jle	_5829
	mov	eax,dword [ebx+32]
	mov	dword [ebx+36],eax
	mov	dword [ebx+32],0
	call	_bbMilliSecs
	mov	dword [ebx+16],eax
_5829:
	mov	eax,dword [ebx+12]
	mov	dword [ebx+20],eax
	mov	eax,0
	jmp	_3387
_3387:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" data writeable align 8
	align	4
_3391:
	dd	0
_521:
	db	"CalMatrix",0
_522:
	db	"dxdx",0
_523:
	db	"f",0
_524:
	db	"dydx",0
_525:
	db	"dzdx",0
_526:
	db	"dxdy",0
_527:
	db	"dydy",0
_528:
	db	"dzdy",0
_529:
	db	"dxdz",0
_530:
	db	"dydz",0
_531:
	db	"dzdz",0
_532:
	db	"New",0
_533:
	db	"()i",0
_534:
	db	"FromMat",0
_535:
	db	"(:CalMatrix):CalMatrix",0
_536:
	db	"assign",0
_537:
	db	"(:CalQuaternion)i",0
_538:
	db	"multMatrixLocal",0
_539:
	db	"multScalarLocal",0
_540:
	db	"(f):CalMatrix",0
_541:
	db	"blend",0
_542:
	db	"(f,:CalMatrix)i",0
_543:
	db	"det",0
_544:
	db	"()f",0
	align	4
_520:
	dd	2
	dd	_521
	dd	3
	dd	_522
	dd	_523
	dd	8
	dd	3
	dd	_524
	dd	_523
	dd	12
	dd	3
	dd	_525
	dd	_523
	dd	16
	dd	3
	dd	_526
	dd	_523
	dd	20
	dd	3
	dd	_527
	dd	_523
	dd	24
	dd	3
	dd	_528
	dd	_523
	dd	28
	dd	3
	dd	_529
	dd	_523
	dd	32
	dd	3
	dd	_530
	dd	_523
	dd	36
	dd	3
	dd	_531
	dd	_523
	dd	40
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_534
	dd	_535
	dd	48
	dd	6
	dd	_536
	dd	_537
	dd	52
	dd	6
	dd	_538
	dd	_535
	dd	56
	dd	6
	dd	_539
	dd	_540
	dd	60
	dd	6
	dd	_541
	dd	_542
	dd	64
	dd	6
	dd	_543
	dd	_544
	dd	68
	dd	0
	align	4
_c3d_cal3d_CalMatrix:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_520
	dd	44
	dd	__c3d_cal3d_CalMatrix_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalMatrix_FromMat
	dd	__c3d_cal3d_CalMatrix_assign
	dd	__c3d_cal3d_CalMatrix_multMatrixLocal
	dd	__c3d_cal3d_CalMatrix_multScalarLocal
	dd	__c3d_cal3d_CalMatrix_blend
	dd	__c3d_cal3d_CalMatrix_det
_546:
	db	"CalQuaternion",0
_547:
	db	"x",0
_548:
	db	"y",0
_549:
	db	"z",0
_550:
	db	"w",0
_551:
	db	"FromQuat",0
_552:
	db	"(:CalQuaternion):CalQuaternion",0
_553:
	db	"FromCoords",0
_554:
	db	"(f,f,f,f):CalQuaternion",0
_555:
	db	"multQuaternionLocal",0
_556:
	db	"multVectorLocal",0
_557:
	db	"(:CalVector):CalQuaternion",0
_558:
	db	"equalTo",0
_559:
	db	"(:CalQuaternion)b",0
_560:
	db	"(f,:CalQuaternion)i",0
_561:
	db	"clear",0
_562:
	db	"conjugate",0
_563:
	db	"invert",0
	align	4
_545:
	dd	2
	dd	_546
	dd	3
	dd	_547
	dd	_523
	dd	8
	dd	3
	dd	_548
	dd	_523
	dd	12
	dd	3
	dd	_549
	dd	_523
	dd	16
	dd	3
	dd	_550
	dd	_523
	dd	20
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_551
	dd	_552
	dd	48
	dd	7
	dd	_553
	dd	_554
	dd	52
	dd	6
	dd	_536
	dd	_537
	dd	56
	dd	6
	dd	_555
	dd	_552
	dd	60
	dd	6
	dd	_556
	dd	_557
	dd	64
	dd	6
	dd	_558
	dd	_559
	dd	68
	dd	6
	dd	_541
	dd	_560
	dd	72
	dd	6
	dd	_561
	dd	_533
	dd	76
	dd	6
	dd	_562
	dd	_533
	dd	80
	dd	6
	dd	_563
	dd	_533
	dd	84
	dd	0
	align	4
_c3d_cal3d_CalQuaternion:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_545
	dd	24
	dd	__c3d_cal3d_CalQuaternion_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalQuaternion_FromQuat
	dd	__c3d_cal3d_CalQuaternion_FromCoords
	dd	__c3d_cal3d_CalQuaternion_assign
	dd	__c3d_cal3d_CalQuaternion_multQuaternionLocal
	dd	__c3d_cal3d_CalQuaternion_multVectorLocal
	dd	__c3d_cal3d_CalQuaternion_equalTo
	dd	__c3d_cal3d_CalQuaternion_blend
	dd	__c3d_cal3d_CalQuaternion_clear
	dd	__c3d_cal3d_CalQuaternion_conjugate
	dd	__c3d_cal3d_CalQuaternion_invert
_565:
	db	"CalVector",0
_566:
	db	"FromVector",0
_567:
	db	"(:CalVector):CalVector",0
_568:
	db	"(f,f,f):CalVector",0
_569:
	db	"(:CalVertex)i",0
_570:
	db	"assigncoords",0
_571:
	db	"(f,f,f)i",0
_572:
	db	"assignvector",0
_573:
	db	"(:CalVector)i",0
_574:
	db	"addLocal",0
_575:
	db	"subLocal",0
_576:
	db	"(f):CalVector",0
_577:
	db	"(:CalQuaternion):CalVector",0
_578:
	db	"(:CalMatrix):CalVector",0
_579:
	db	"(f,:CalVector)i",0
_580:
	db	"divScalarLocal",0
_581:
	db	"(:CalVector)b",0
_582:
	db	"length",0
_583:
	db	"normalize",0
	align	4
_564:
	dd	2
	dd	_565
	dd	3
	dd	_547
	dd	_523
	dd	8
	dd	3
	dd	_548
	dd	_523
	dd	12
	dd	3
	dd	_549
	dd	_523
	dd	16
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_566
	dd	_567
	dd	48
	dd	7
	dd	_553
	dd	_568
	dd	52
	dd	6
	dd	_536
	dd	_569
	dd	56
	dd	6
	dd	_570
	dd	_571
	dd	60
	dd	6
	dd	_572
	dd	_573
	dd	64
	dd	6
	dd	_574
	dd	_567
	dd	68
	dd	6
	dd	_575
	dd	_567
	dd	72
	dd	6
	dd	_539
	dd	_576
	dd	76
	dd	6
	dd	_555
	dd	_577
	dd	80
	dd	6
	dd	_538
	dd	_578
	dd	84
	dd	6
	dd	_541
	dd	_579
	dd	88
	dd	6
	dd	_580
	dd	_576
	dd	92
	dd	6
	dd	_558
	dd	_581
	dd	96
	dd	6
	dd	_561
	dd	_533
	dd	100
	dd	6
	dd	_582
	dd	_544
	dd	104
	dd	6
	dd	_583
	dd	_544
	dd	108
	dd	0
	align	4
_c3d_cal3d_CalVector:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_564
	dd	20
	dd	__c3d_cal3d_CalVector_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalVector_FromVector
	dd	__c3d_cal3d_CalVector_FromCoords
	dd	__c3d_cal3d_CalVector_assign
	dd	__c3d_cal3d_CalVector_assigncoords
	dd	__c3d_cal3d_CalVector_assignvector
	dd	__c3d_cal3d_CalVector_addLocal
	dd	__c3d_cal3d_CalVector_subLocal
	dd	__c3d_cal3d_CalVector_multScalarLocal
	dd	__c3d_cal3d_CalVector_multQuaternionLocal
	dd	__c3d_cal3d_CalVector_multMatrixLocal
	dd	__c3d_cal3d_CalVector_blend
	dd	__c3d_cal3d_CalVector_divScalarLocal
	dd	__c3d_cal3d_CalVector_equalTo
	dd	__c3d_cal3d_CalVector_clear
	dd	__c3d_cal3d_CalVector_length
	dd	__c3d_cal3d_CalVector_normalize
_585:
	db	"CalTextureCoordinate",0
_586:
	db	"u",0
_587:
	db	"v",0
_588:
	db	"FromUV",0
_589:
	db	"(:CalTextureCoordinate):CalTextureCoordinate",0
_590:
	db	"(f,f):CalTextureCoordinate",0
	align	4
_584:
	dd	2
	dd	_585
	dd	3
	dd	_586
	dd	_523
	dd	8
	dd	3
	dd	_587
	dd	_523
	dd	12
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_588
	dd	_589
	dd	48
	dd	7
	dd	_553
	dd	_590
	dd	52
	dd	0
	align	4
_c3d_cal3d_CalTextureCoordinate:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_584
	dd	16
	dd	__c3d_cal3d_CalTextureCoordinate_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalTextureCoordinate_FromUV
	dd	__c3d_cal3d_CalTextureCoordinate_FromCoords
_592:
	db	"CalTangentSpace",0
_593:
	db	"tangent",0
_594:
	db	":CalVector",0
_595:
	db	"crossFactor",0
_596:
	db	"(:CalVector,f):CalTangentSpace",0
_597:
	db	"(f,f,f,f):CalTangentSpace",0
	align	4
_591:
	dd	2
	dd	_592
	dd	3
	dd	_593
	dd	_594
	dd	8
	dd	3
	dd	_595
	dd	_523
	dd	12
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_566
	dd	_596
	dd	48
	dd	7
	dd	_553
	dd	_597
	dd	52
	dd	0
	align	4
_c3d_cal3d_CalTangentSpace:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_591
	dd	16
	dd	__c3d_cal3d_CalTangentSpace_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalTangentSpace_FromVector
	dd	__c3d_cal3d_CalTangentSpace_FromCoords
_599:
	db	"CalInfluence",0
_600:
	db	"boneId",0
_601:
	db	"i",0
_602:
	db	"weight",0
_603:
	db	"(i,f):CalInfluence",0
	align	4
_598:
	dd	2
	dd	_599
	dd	3
	dd	_600
	dd	_601
	dd	8
	dd	3
	dd	_602
	dd	_523
	dd	12
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_553
	dd	_603
	dd	48
	dd	0
	align	4
_c3d_cal3d_CalInfluence:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_598
	dd	16
	dd	__c3d_cal3d_CalInfluence_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalInfluence_FromCoords
_605:
	db	"CalPhysicalProperty",0
_606:
	db	"position",0
_607:
	db	"positionOld",0
_608:
	db	"force",0
_609:
	db	"FromWeight",0
_610:
	db	"(f):CalPhysicalProperty",0
_611:
	db	"(:CalVector,:CalVector,:CalVector,f):CalPhysicalProperty",0
	align	4
_604:
	dd	2
	dd	_605
	dd	3
	dd	_602
	dd	_523
	dd	8
	dd	3
	dd	_606
	dd	_594
	dd	12
	dd	3
	dd	_607
	dd	_594
	dd	16
	dd	3
	dd	_608
	dd	_594
	dd	20
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_609
	dd	_610
	dd	48
	dd	7
	dd	_553
	dd	_611
	dd	52
	dd	0
	align	4
_c3d_cal3d_CalPhysicalProperty:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_604
	dd	24
	dd	__c3d_cal3d_CalPhysicalProperty_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalPhysicalProperty_FromWeight
	dd	__c3d_cal3d_CalPhysicalProperty_FromCoords
_613:
	db	"CalVertex",0
_614:
	db	"normal",0
_615:
	db	"vectorInfluence",0
_616:
	db	"[]:CalInfluence",0
_617:
	db	"collapseId",0
_618:
	db	"faceCollapseCount",0
_619:
	db	"(:CalVector,:CalVector):CalVertex",0
_620:
	db	"FromData",0
_621:
	db	"(:CalVector,:CalVector,[]:CalInfluence,i,i):CalVertex",0
_622:
	db	"assignVector",0
	align	4
_612:
	dd	2
	dd	_613
	dd	3
	dd	_606
	dd	_594
	dd	8
	dd	3
	dd	_614
	dd	_594
	dd	12
	dd	3
	dd	_615
	dd	_616
	dd	16
	dd	3
	dd	_617
	dd	_601
	dd	20
	dd	3
	dd	_618
	dd	_601
	dd	24
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_566
	dd	_619
	dd	48
	dd	7
	dd	_620
	dd	_621
	dd	52
	dd	6
	dd	_536
	dd	_571
	dd	56
	dd	6
	dd	_622
	dd	_573
	dd	60
	dd	0
	align	4
_c3d_cal3d_CalVertex:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_612
	dd	28
	dd	__c3d_cal3d_CalVertex_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalVertex_FromVector
	dd	__c3d_cal3d_CalVertex_FromData
	dd	__c3d_cal3d_CalVertex_assign
	dd	__c3d_cal3d_CalVertex_assignVector
_624:
	db	"CalFace",0
_625:
	db	"vertexId",0
_626:
	db	"[]i",0
_627:
	db	"(i,i,i):CalFace",0
_628:
	db	"FromFace",0
_629:
	db	"(:CalFace):CalFace",0
_630:
	db	"FromArr",0
_631:
	db	"([]i):CalFace",0
	align	4
_623:
	dd	2
	dd	_624
	dd	3
	dd	_625
	dd	_626
	dd	8
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_553
	dd	_627
	dd	48
	dd	7
	dd	_628
	dd	_629
	dd	52
	dd	7
	dd	_630
	dd	_631
	dd	56
	dd	0
	align	4
_c3d_cal3d_CalFace:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_623
	dd	12
	dd	__c3d_cal3d_CalFace_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalFace_FromCoords
	dd	__c3d_cal3d_CalFace_FromFace
	dd	__c3d_cal3d_CalFace_FromArr
_633:
	db	"CalSpring",0
_634:
	db	"springCoefficient",0
_635:
	db	"idleLength",0
_636:
	db	"(i,i,f,f):CalSpring",0
_637:
	db	"([]i,f,f):CalSpring",0
	align	4
_632:
	dd	2
	dd	_633
	dd	3
	dd	_625
	dd	_626
	dd	8
	dd	3
	dd	_634
	dd	_523
	dd	12
	dd	3
	dd	_635
	dd	_523
	dd	16
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_553
	dd	_636
	dd	48
	dd	7
	dd	_630
	dd	_637
	dd	52
	dd	0
	align	4
_c3d_cal3d_CalSpring:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_632
	dd	20
	dd	__c3d_cal3d_CalSpring_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalSpring_FromCoords
	dd	__c3d_cal3d_CalSpring_FromArr
_639:
	db	"CalPlane",0
_640:
	db	"a",0
_641:
	db	"b",0
_642:
	db	"c",0
_643:
	db	"d",0
_644:
	db	"eval",0
_645:
	db	"(:CalVector)f",0
_646:
	db	"setPosition",0
_647:
	db	"setNormal",0
_648:
	db	"dist",0
	align	4
_638:
	dd	2
	dd	_639
	dd	3
	dd	_640
	dd	_523
	dd	8
	dd	3
	dd	_641
	dd	_523
	dd	12
	dd	3
	dd	_642
	dd	_523
	dd	16
	dd	3
	dd	_643
	dd	_523
	dd	20
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	6
	dd	_644
	dd	_645
	dd	48
	dd	6
	dd	_646
	dd	_573
	dd	52
	dd	6
	dd	_647
	dd	_573
	dd	56
	dd	6
	dd	_648
	dd	_645
	dd	60
	dd	0
	align	4
_c3d_cal3d_CalPlane:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_638
	dd	24
	dd	__c3d_cal3d_CalPlane_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalPlane_eval
	dd	__c3d_cal3d_CalPlane_setPosition
	dd	__c3d_cal3d_CalPlane_setNormal
	dd	__c3d_cal3d_CalPlane_dist
_650:
	db	"CalBoundingBox",0
_651:
	db	"plane",0
_652:
	db	"[]:CalPlane",0
_653:
	db	"computePoints",0
_654:
	db	"([]:CalVector)[]:CalVector",0
	align	4
_649:
	dd	2
	dd	_650
	dd	3
	dd	_651
	dd	_652
	dd	8
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	6
	dd	_653
	dd	_654
	dd	48
	dd	0
	align	4
_c3d_cal3d_CalBoundingBox:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_649
	dd	12
	dd	__c3d_cal3d_CalBoundingBox_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalBoundingBox_computePoints
_656:
	db	"StringMap",0
_657:
	db	"smap",0
_658:
	db	"[]:StringNode",0
_659:
	db	"Set",0
_660:
	db	"($,$)i",0
_661:
	db	"Add",0
_662:
	db	"Contains",0
_663:
	db	"($)b",0
_664:
	db	"Get",0
_665:
	db	"($)$",0
	align	4
_655:
	dd	2
	dd	_656
	dd	3
	dd	_657
	dd	_658
	dd	8
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	6
	dd	_659
	dd	_660
	dd	48
	dd	6
	dd	_661
	dd	_660
	dd	52
	dd	6
	dd	_662
	dd	_663
	dd	56
	dd	6
	dd	_664
	dd	_665
	dd	60
	dd	0
	align	4
_c3d_cal3d_StringMap:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_655
	dd	12
	dd	__c3d_cal3d_StringMap_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_StringMap_Set
	dd	__c3d_cal3d_StringMap_Add
	dd	__c3d_cal3d_StringMap_Contains
	dd	__c3d_cal3d_StringMap_Get
_667:
	db	"StringNode",0
_668:
	db	"key",0
_669:
	db	"$",0
_670:
	db	"value",0
_671:
	db	"($,$):StringNode",0
	align	4
_666:
	dd	2
	dd	_667
	dd	3
	dd	_668
	dd	_669
	dd	8
	dd	3
	dd	_670
	dd	_669
	dd	12
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_620
	dd	_671
	dd	48
	dd	0
	align	4
_c3d_cal3d_StringNode:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_666
	dd	16
	dd	__c3d_cal3d_StringNode_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_StringNode_FromData
_673:
	db	"IntMap",0
_674:
	db	"[]:IntNode",0
_675:
	db	"(i,:Object)i",0
_676:
	db	"(i)b",0
_677:
	db	"(i):Object",0
	align	4
_672:
	dd	2
	dd	_673
	dd	3
	dd	_657
	dd	_674
	dd	8
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	6
	dd	_659
	dd	_675
	dd	48
	dd	6
	dd	_661
	dd	_675
	dd	52
	dd	6
	dd	_662
	dd	_676
	dd	56
	dd	6
	dd	_664
	dd	_677
	dd	60
	dd	0
	align	4
_c3d_cal3d_IntMap:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_672
	dd	12
	dd	__c3d_cal3d_IntMap_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_IntMap_Set
	dd	__c3d_cal3d_IntMap_Add
	dd	__c3d_cal3d_IntMap_Contains
	dd	__c3d_cal3d_IntMap_Get
_679:
	db	"IntNode",0
_680:
	db	":Object",0
_681:
	db	"(i,:Object):IntNode",0
	align	4
_678:
	dd	2
	dd	_679
	dd	3
	dd	_668
	dd	_601
	dd	8
	dd	3
	dd	_670
	dd	_680
	dd	12
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_620
	dd	_681
	dd	48
	dd	0
	align	4
_c3d_cal3d_IntNode:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_678
	dd	16
	dd	__c3d_cal3d_IntNode_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_IntNode_FromData
_683:
	db	"CalCoreMaterial",0
_684:
	db	"m_ambientColor",0
_685:
	db	":CalColor",0
_686:
	db	"m_diffuseColor",0
_687:
	db	"m_specularColor",0
_688:
	db	"m_shininess",0
_689:
	db	"m_vectorMap",0
_690:
	db	"[]:CalMap",0
_691:
	db	"m_userData",0
_692:
	db	"m_name",0
_693:
	db	"m_filename",0
_694:
	db	"getAmbientColor",0
_695:
	db	"():CalColor",0
_696:
	db	"getDiffuseColor",0
_697:
	db	"getMapCount",0
_698:
	db	"getMapFilename",0
_699:
	db	"(i)$",0
_700:
	db	"getMapUserData",0
_701:
	db	"getShininess",0
_702:
	db	"getSpecularColor",0
_703:
	db	"getUserData",0
_704:
	db	"():Object",0
_705:
	db	"getVectorMap",0
_706:
	db	"()[]:CalMap",0
_707:
	db	"getFilename",0
_708:
	db	"()$",0
_709:
	db	"getName",0
_710:
	db	"reserve",0
_711:
	db	"setAmbientColor",0
_712:
	db	"(:CalColor)i",0
_713:
	db	"setDiffuseColor",0
_714:
	db	"setMap",0
_715:
	db	"(i,:CalMap)b",0
_716:
	db	"setMapUserData",0
_717:
	db	"(i,:Object)b",0
_718:
	db	"setShininess",0
_719:
	db	"(f)i",0
_720:
	db	"setSpecularColor",0
_721:
	db	"setFilename",0
_722:
	db	"($)i",0
_723:
	db	"setName",0
_724:
	db	"setUserData",0
_725:
	db	"(:Object)i",0
	align	4
_682:
	dd	2
	dd	_683
	dd	3
	dd	_684
	dd	_685
	dd	8
	dd	3
	dd	_686
	dd	_685
	dd	12
	dd	3
	dd	_687
	dd	_685
	dd	16
	dd	3
	dd	_688
	dd	_523
	dd	20
	dd	3
	dd	_689
	dd	_690
	dd	24
	dd	3
	dd	_691
	dd	_680
	dd	28
	dd	3
	dd	_692
	dd	_669
	dd	32
	dd	3
	dd	_693
	dd	_669
	dd	36
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	6
	dd	_694
	dd	_695
	dd	48
	dd	6
	dd	_696
	dd	_695
	dd	52
	dd	6
	dd	_697
	dd	_533
	dd	56
	dd	6
	dd	_698
	dd	_699
	dd	60
	dd	6
	dd	_700
	dd	_677
	dd	64
	dd	6
	dd	_701
	dd	_544
	dd	68
	dd	6
	dd	_702
	dd	_695
	dd	72
	dd	6
	dd	_703
	dd	_704
	dd	76
	dd	6
	dd	_705
	dd	_706
	dd	80
	dd	6
	dd	_707
	dd	_708
	dd	84
	dd	6
	dd	_709
	dd	_708
	dd	88
	dd	6
	dd	_710
	dd	_676
	dd	92
	dd	6
	dd	_711
	dd	_712
	dd	96
	dd	6
	dd	_713
	dd	_712
	dd	100
	dd	6
	dd	_714
	dd	_715
	dd	104
	dd	6
	dd	_716
	dd	_717
	dd	108
	dd	6
	dd	_718
	dd	_719
	dd	112
	dd	6
	dd	_720
	dd	_712
	dd	116
	dd	6
	dd	_721
	dd	_722
	dd	120
	dd	6
	dd	_723
	dd	_722
	dd	124
	dd	6
	dd	_724
	dd	_725
	dd	128
	dd	0
	align	4
_c3d_cal3d_CalCoreMaterial:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_682
	dd	40
	dd	__c3d_cal3d_CalCoreMaterial_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreMaterial_getAmbientColor
	dd	__c3d_cal3d_CalCoreMaterial_getDiffuseColor
	dd	__c3d_cal3d_CalCoreMaterial_getMapCount
	dd	__c3d_cal3d_CalCoreMaterial_getMapFilename
	dd	__c3d_cal3d_CalCoreMaterial_getMapUserData
	dd	__c3d_cal3d_CalCoreMaterial_getShininess
	dd	__c3d_cal3d_CalCoreMaterial_getSpecularColor
	dd	__c3d_cal3d_CalCoreMaterial_getUserData
	dd	__c3d_cal3d_CalCoreMaterial_getVectorMap
	dd	__c3d_cal3d_CalCoreMaterial_getFilename
	dd	__c3d_cal3d_CalCoreMaterial_getName
	dd	__c3d_cal3d_CalCoreMaterial_reserve
	dd	__c3d_cal3d_CalCoreMaterial_setAmbientColor
	dd	__c3d_cal3d_CalCoreMaterial_setDiffuseColor
	dd	__c3d_cal3d_CalCoreMaterial_setMap
	dd	__c3d_cal3d_CalCoreMaterial_setMapUserData
	dd	__c3d_cal3d_CalCoreMaterial_setShininess
	dd	__c3d_cal3d_CalCoreMaterial_setSpecularColor
	dd	__c3d_cal3d_CalCoreMaterial_setFilename
	dd	__c3d_cal3d_CalCoreMaterial_setName
	dd	__c3d_cal3d_CalCoreMaterial_setUserData
_727:
	db	"CalColor",0
_728:
	db	"red",0
_729:
	db	"green",0
_730:
	db	"blue",0
_731:
	db	"alpha",0
_732:
	db	"FromColor",0
_733:
	db	"(:CalColor):CalColor",0
_734:
	db	"FromValues",0
_735:
	db	"(f,f,f,f):CalColor",0
	align	4
_726:
	dd	2
	dd	_727
	dd	3
	dd	_728
	dd	_523
	dd	8
	dd	3
	dd	_729
	dd	_523
	dd	12
	dd	3
	dd	_730
	dd	_523
	dd	16
	dd	3
	dd	_731
	dd	_523
	dd	20
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_732
	dd	_733
	dd	48
	dd	7
	dd	_734
	dd	_735
	dd	52
	dd	0
	align	4
_c3d_cal3d_CalColor:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_726
	dd	24
	dd	__c3d_cal3d_CalColor_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalColor_FromColor
	dd	__c3d_cal3d_CalColor_FromValues
_737:
	db	"CalMap",0
_738:
	db	"filename",0
_739:
	db	"userData",0
	align	4
_736:
	dd	2
	dd	_737
	dd	3
	dd	_738
	dd	_669
	dd	8
	dd	3
	dd	_739
	dd	_680
	dd	12
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	0
	align	4
_c3d_cal3d_CalMap:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_736
	dd	16
	dd	__c3d_cal3d_CalMap_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_741:
	db	"CalCoreSubmesh",0
_742:
	db	"m_vectorVertex",0
_743:
	db	"[]:CalVertex",0
_744:
	db	"m_vectorTangentsEnabled",0
_745:
	db	"[]b",0
_746:
	db	"m_vectorvectorTangentSpace",0
_747:
	db	"[][]:CalTangentSpace",0
_748:
	db	"m_vectorvectorTangentSpacelocal",0
_749:
	db	"m_vectorvectorTextureCoordinate",0
_750:
	db	"[][]:CalTextureCoordinate",0
_751:
	db	"m_vectorPhysicalProperty",0
_752:
	db	"[]:CalPhysicalProperty",0
_753:
	db	"m_vectorFace",0
_754:
	db	"[]:CalFace",0
_755:
	db	"m_vectorSpring",0
_756:
	db	"[]:CalSpring",0
_757:
	db	"m_vectorCoreSubMorphTarget",0
_758:
	db	"[]:CalCoreSubMorphTarget",0
_759:
	db	"m_coreMaterialThreadId",0
_760:
	db	"m_lodCount",0
_761:
	db	"getCoreMaterialThreadId",0
_762:
	db	"getFaceCount",0
_763:
	db	"getLodCount",0
_764:
	db	"getSpringCount",0
_765:
	db	"getVectorFace",0
_766:
	db	"()[]:CalFace",0
_767:
	db	"getVectorPhysicalProperty",0
_768:
	db	"()[]:CalPhysicalProperty",0
_769:
	db	"getVectorSpring",0
_770:
	db	"()[]:CalSpring",0
_771:
	db	"getVectorVectorTangentSpace",0
_772:
	db	"()[][]:CalTangentSpace",0
_773:
	db	"getVectorVectorTextureCoordinate",0
_774:
	db	"()[][]:CalTextureCoordinate",0
_775:
	db	"getVectorVertex",0
_776:
	db	"()[]:CalVertex",0
_777:
	db	"getVertexCount",0
_778:
	db	"isTangentsEnabled",0
_779:
	db	"enableTangents",0
_780:
	db	"(i,b)b",0
_781:
	db	"(i,i,i,i)b",0
_782:
	db	"setCoreMaterialThreadId",0
_783:
	db	"(i)i",0
_784:
	db	"setFace",0
_785:
	db	"(i,:CalFace)b",0
_786:
	db	"setLodCount",0
_787:
	db	"setPhysicalProperty",0
_788:
	db	"(i,:CalPhysicalProperty)b",0
_789:
	db	"setSpring",0
_790:
	db	"(i,:CalSpring)b",0
_791:
	db	"setTangentSpace",0
_792:
	db	"(i,i,:CalVector,f)b",0
_793:
	db	"setTextureCoordinate",0
_794:
	db	"(i,i,:CalTextureCoordinate)b",0
_795:
	db	"setVertex",0
_796:
	db	"(i,:CalVertex)b",0
_797:
	db	"addCoreSubMorphTarget",0
_798:
	db	"(:CalCoreSubMorphTarget)i",0
_799:
	db	"getCoreSubMorphTarget",0
_800:
	db	"(i):CalCoreSubMorphTarget",0
_801:
	db	"getCoreSubMorphTargetCount",0
_802:
	db	"getVectorCoreSubMorphTarget",0
_803:
	db	"()[]:CalCoreSubMorphTarget",0
_804:
	db	"scale",0
_805:
	db	"UpdateTangentVector",0
_806:
	db	"(i,i,i,i)i",0
	align	4
_740:
	dd	2
	dd	_741
	dd	3
	dd	_742
	dd	_743
	dd	8
	dd	3
	dd	_744
	dd	_745
	dd	12
	dd	3
	dd	_746
	dd	_747
	dd	16
	dd	3
	dd	_748
	dd	_747
	dd	20
	dd	3
	dd	_749
	dd	_750
	dd	24
	dd	3
	dd	_751
	dd	_752
	dd	28
	dd	3
	dd	_753
	dd	_754
	dd	32
	dd	3
	dd	_755
	dd	_756
	dd	36
	dd	3
	dd	_757
	dd	_758
	dd	40
	dd	3
	dd	_759
	dd	_601
	dd	44
	dd	3
	dd	_760
	dd	_601
	dd	48
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	6
	dd	_761
	dd	_533
	dd	48
	dd	6
	dd	_762
	dd	_533
	dd	52
	dd	6
	dd	_763
	dd	_533
	dd	56
	dd	6
	dd	_764
	dd	_533
	dd	60
	dd	6
	dd	_765
	dd	_766
	dd	64
	dd	6
	dd	_767
	dd	_768
	dd	68
	dd	6
	dd	_769
	dd	_770
	dd	72
	dd	6
	dd	_771
	dd	_772
	dd	76
	dd	6
	dd	_773
	dd	_774
	dd	80
	dd	6
	dd	_775
	dd	_776
	dd	84
	dd	6
	dd	_777
	dd	_533
	dd	88
	dd	6
	dd	_778
	dd	_676
	dd	92
	dd	6
	dd	_779
	dd	_780
	dd	96
	dd	6
	dd	_710
	dd	_781
	dd	100
	dd	6
	dd	_782
	dd	_783
	dd	104
	dd	6
	dd	_784
	dd	_785
	dd	108
	dd	6
	dd	_786
	dd	_783
	dd	112
	dd	6
	dd	_787
	dd	_788
	dd	116
	dd	6
	dd	_789
	dd	_790
	dd	120
	dd	6
	dd	_791
	dd	_792
	dd	124
	dd	6
	dd	_793
	dd	_794
	dd	128
	dd	6
	dd	_795
	dd	_796
	dd	132
	dd	6
	dd	_797
	dd	_798
	dd	136
	dd	6
	dd	_799
	dd	_800
	dd	140
	dd	6
	dd	_801
	dd	_533
	dd	144
	dd	6
	dd	_802
	dd	_803
	dd	148
	dd	6
	dd	_804
	dd	_719
	dd	152
	dd	6
	dd	_805
	dd	_806
	dd	156
	dd	0
	align	4
_c3d_cal3d_CalCoreSubmesh:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_740
	dd	52
	dd	__c3d_cal3d_CalCoreSubmesh_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreSubmesh_getCoreMaterialThreadId
	dd	__c3d_cal3d_CalCoreSubmesh_getFaceCount
	dd	__c3d_cal3d_CalCoreSubmesh_getLodCount
	dd	__c3d_cal3d_CalCoreSubmesh_getSpringCount
	dd	__c3d_cal3d_CalCoreSubmesh_getVectorFace
	dd	__c3d_cal3d_CalCoreSubmesh_getVectorPhysicalProperty
	dd	__c3d_cal3d_CalCoreSubmesh_getVectorSpring
	dd	__c3d_cal3d_CalCoreSubmesh_getVectorVectorTangentSpace
	dd	__c3d_cal3d_CalCoreSubmesh_getVectorVectorTextureCoordinate
	dd	__c3d_cal3d_CalCoreSubmesh_getVectorVertex
	dd	__c3d_cal3d_CalCoreSubmesh_getVertexCount
	dd	__c3d_cal3d_CalCoreSubmesh_isTangentsEnabled
	dd	__c3d_cal3d_CalCoreSubmesh_enableTangents
	dd	__c3d_cal3d_CalCoreSubmesh_reserve
	dd	__c3d_cal3d_CalCoreSubmesh_setCoreMaterialThreadId
	dd	__c3d_cal3d_CalCoreSubmesh_setFace
	dd	__c3d_cal3d_CalCoreSubmesh_setLodCount
	dd	__c3d_cal3d_CalCoreSubmesh_setPhysicalProperty
	dd	__c3d_cal3d_CalCoreSubmesh_setSpring
	dd	__c3d_cal3d_CalCoreSubmesh_setTangentSpace
	dd	__c3d_cal3d_CalCoreSubmesh_setTextureCoordinate
	dd	__c3d_cal3d_CalCoreSubmesh_setVertex
	dd	__c3d_cal3d_CalCoreSubmesh_addCoreSubMorphTarget
	dd	__c3d_cal3d_CalCoreSubmesh_getCoreSubMorphTarget
	dd	__c3d_cal3d_CalCoreSubmesh_getCoreSubMorphTargetCount
	dd	__c3d_cal3d_CalCoreSubmesh_getVectorCoreSubMorphTarget
	dd	__c3d_cal3d_CalCoreSubmesh_scale
	dd	__c3d_cal3d_CalCoreSubmesh_UpdateTangentVector
_808:
	db	"CalCoreMesh",0
_809:
	db	"m_vectorCoreSubmesh",0
_810:
	db	"[]:CalCoreSubmesh",0
_811:
	db	"addCoreSubmesh",0
_812:
	db	"(:CalCoreSubmesh)i",0
_813:
	db	"getCoreSubmesh",0
_814:
	db	"(i):CalCoreSubmesh",0
_815:
	db	"getCoreSubmeshCount",0
_816:
	db	"getVectorCoreSubmesh",0
_817:
	db	"()[]:CalCoreSubmesh",0
_818:
	db	"addAsMorphTarget",0
_819:
	db	"(:CalCoreMesh)i",0
	align	4
_807:
	dd	2
	dd	_808
	dd	3
	dd	_809
	dd	_810
	dd	8
	dd	3
	dd	_692
	dd	_669
	dd	12
	dd	3
	dd	_693
	dd	_669
	dd	16
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	6
	dd	_811
	dd	_812
	dd	48
	dd	6
	dd	_813
	dd	_814
	dd	52
	dd	6
	dd	_815
	dd	_533
	dd	56
	dd	6
	dd	_816
	dd	_817
	dd	60
	dd	6
	dd	_818
	dd	_819
	dd	64
	dd	6
	dd	_804
	dd	_719
	dd	68
	dd	6
	dd	_721
	dd	_722
	dd	72
	dd	6
	dd	_707
	dd	_708
	dd	76
	dd	6
	dd	_723
	dd	_722
	dd	80
	dd	6
	dd	_709
	dd	_708
	dd	84
	dd	0
	align	4
_c3d_cal3d_CalCoreMesh:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_807
	dd	20
	dd	__c3d_cal3d_CalCoreMesh_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreMesh_addCoreSubmesh
	dd	__c3d_cal3d_CalCoreMesh_getCoreSubmesh
	dd	__c3d_cal3d_CalCoreMesh_getCoreSubmeshCount
	dd	__c3d_cal3d_CalCoreMesh_getVectorCoreSubmesh
	dd	__c3d_cal3d_CalCoreMesh_addAsMorphTarget
	dd	__c3d_cal3d_CalCoreMesh_scale
	dd	__c3d_cal3d_CalCoreMesh_setFilename
	dd	__c3d_cal3d_CalCoreMesh_getFilename
	dd	__c3d_cal3d_CalCoreMesh_setName
	dd	__c3d_cal3d_CalCoreMesh_getName
_821:
	db	"CalCoreBone",0
_822:
	db	"m_coreSkeleton",0
_823:
	db	":CalCoreSkeleton",0
_824:
	db	"m_parentId",0
_825:
	db	"m_listChildId",0
_826:
	db	"m_translation",0
_827:
	db	"m_rotation",0
_828:
	db	":CalQuaternion",0
_829:
	db	"m_translationAbsolute",0
_830:
	db	"m_rotationAbsolute",0
_831:
	db	"m_translationBoneSpace",0
_832:
	db	"m_rotationBoneSpace",0
_833:
	db	"m_boundingBox",0
_834:
	db	":CalBoundingBox",0
_835:
	db	"m_boundingPosition",0
_836:
	db	"[]:CalVector",0
_837:
	db	"m_boundingBoxPrecomputed",0
_838:
	db	"Create",0
_839:
	db	"($):CalCoreBone",0
_840:
	db	"addChildId",0
_841:
	db	"calculateState",0
_842:
	db	"getListChildId",0
_843:
	db	"()[]i",0
_844:
	db	"getParentId",0
_845:
	db	"getCoreSkeleton",0
_846:
	db	"():CalCoreSkeleton",0
_847:
	db	"GetRotation",0
_848:
	db	"():CalQuaternion",0
_849:
	db	"getRotationAbsolute",0
_850:
	db	"getRotationBoneSpace",0
_851:
	db	"getTranslation",0
_852:
	db	"():CalVector",0
_853:
	db	"getTranslationAbsolute",0
_854:
	db	"getTranslationBoneSpace",0
_855:
	db	"setCoreSkeleton",0
_856:
	db	"(:CalCoreSkeleton)i",0
_857:
	db	"setParentId",0
_858:
	db	"SetRotation",0
_859:
	db	"setRotationBoneSpace",0
_860:
	db	"setTranslation",0
_861:
	db	"setTranslationBoneSpace",0
_862:
	db	"calculateBoundingBox",0
_863:
	db	"(:CalCoreModel)i",0
_864:
	db	"getBoundingBox",0
_865:
	db	"():CalBoundingBox",0
_866:
	db	"getBoundingData",0
_867:
	db	"(i,:CalVector):CalVector",0
_868:
	db	"isBoundingBoxPrecomputed",0
_869:
	db	"()b",0
	align	4
_820:
	dd	2
	dd	_821
	dd	3
	dd	_692
	dd	_669
	dd	8
	dd	3
	dd	_822
	dd	_823
	dd	12
	dd	3
	dd	_824
	dd	_601
	dd	16
	dd	3
	dd	_825
	dd	_626
	dd	20
	dd	3
	dd	_826
	dd	_594
	dd	24
	dd	3
	dd	_827
	dd	_828
	dd	28
	dd	3
	dd	_829
	dd	_594
	dd	32
	dd	3
	dd	_830
	dd	_828
	dd	36
	dd	3
	dd	_831
	dd	_594
	dd	40
	dd	3
	dd	_832
	dd	_828
	dd	44
	dd	3
	dd	_691
	dd	_680
	dd	48
	dd	3
	dd	_833
	dd	_834
	dd	52
	dd	3
	dd	_835
	dd	_836
	dd	56
	dd	3
	dd	_837
	dd	_641
	dd	60
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_838
	dd	_839
	dd	48
	dd	6
	dd	_840
	dd	_676
	dd	52
	dd	6
	dd	_841
	dd	_533
	dd	56
	dd	6
	dd	_842
	dd	_843
	dd	60
	dd	6
	dd	_709
	dd	_708
	dd	64
	dd	6
	dd	_844
	dd	_533
	dd	68
	dd	6
	dd	_845
	dd	_846
	dd	72
	dd	6
	dd	_847
	dd	_848
	dd	76
	dd	6
	dd	_849
	dd	_848
	dd	80
	dd	6
	dd	_850
	dd	_848
	dd	84
	dd	6
	dd	_851
	dd	_852
	dd	88
	dd	6
	dd	_853
	dd	_852
	dd	92
	dd	6
	dd	_854
	dd	_852
	dd	96
	dd	6
	dd	_703
	dd	_704
	dd	100
	dd	6
	dd	_855
	dd	_856
	dd	104
	dd	6
	dd	_857
	dd	_783
	dd	108
	dd	6
	dd	_858
	dd	_537
	dd	112
	dd	6
	dd	_859
	dd	_537
	dd	116
	dd	6
	dd	_860
	dd	_573
	dd	120
	dd	6
	dd	_861
	dd	_573
	dd	124
	dd	6
	dd	_724
	dd	_725
	dd	128
	dd	6
	dd	_862
	dd	_863
	dd	132
	dd	6
	dd	_864
	dd	_865
	dd	136
	dd	6
	dd	_866
	dd	_867
	dd	140
	dd	6
	dd	_868
	dd	_869
	dd	144
	dd	6
	dd	_804
	dd	_719
	dd	148
	dd	0
	align	4
_c3d_cal3d_CalCoreBone:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_820
	dd	61
	dd	__c3d_cal3d_CalCoreBone_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreBone_Create
	dd	__c3d_cal3d_CalCoreBone_addChildId
	dd	__c3d_cal3d_CalCoreBone_calculateState
	dd	__c3d_cal3d_CalCoreBone_getListChildId
	dd	__c3d_cal3d_CalCoreBone_getName
	dd	__c3d_cal3d_CalCoreBone_getParentId
	dd	__c3d_cal3d_CalCoreBone_getCoreSkeleton
	dd	__c3d_cal3d_CalCoreBone_GetRotation
	dd	__c3d_cal3d_CalCoreBone_getRotationAbsolute
	dd	__c3d_cal3d_CalCoreBone_getRotationBoneSpace
	dd	__c3d_cal3d_CalCoreBone_getTranslation
	dd	__c3d_cal3d_CalCoreBone_getTranslationAbsolute
	dd	__c3d_cal3d_CalCoreBone_getTranslationBoneSpace
	dd	__c3d_cal3d_CalCoreBone_getUserData
	dd	__c3d_cal3d_CalCoreBone_setCoreSkeleton
	dd	__c3d_cal3d_CalCoreBone_setParentId
	dd	__c3d_cal3d_CalCoreBone_SetRotation
	dd	__c3d_cal3d_CalCoreBone_setRotationBoneSpace
	dd	__c3d_cal3d_CalCoreBone_setTranslation
	dd	__c3d_cal3d_CalCoreBone_setTranslationBoneSpace
	dd	__c3d_cal3d_CalCoreBone_setUserData
	dd	__c3d_cal3d_CalCoreBone_calculateBoundingBox
	dd	__c3d_cal3d_CalCoreBone_getBoundingBox
	dd	__c3d_cal3d_CalCoreBone_getBoundingData
	dd	__c3d_cal3d_CalCoreBone_isBoundingBoxPrecomputed
	dd	__c3d_cal3d_CalCoreBone_scale
_871:
	db	"CalCoreSkeleton",0
_872:
	db	"m_vectorCoreBone",0
_873:
	db	"[]:CalCoreBone",0
_874:
	db	"m_mapCoreBoneNames",0
_875:
	db	":StringMap",0
_876:
	db	"m_vectorRootCoreBoneId",0
_877:
	db	"addCoreBone",0
_878:
	db	"(:CalCoreBone)i",0
_879:
	db	"getCoreBonebyID",0
_880:
	db	"(i):CalCoreBone",0
_881:
	db	"getCoreBone",0
_882:
	db	"getCoreBoneId",0
_883:
	db	"mapCoreBoneName",0
_884:
	db	"(i,$)b",0
_885:
	db	"getVectorRootCoreBoneId",0
_886:
	db	"getVectorCoreBone",0
_887:
	db	"()[]:CalCoreBone",0
_888:
	db	"calculateBoundingBoxes",0
	align	4
_870:
	dd	2
	dd	_871
	dd	3
	dd	_872
	dd	_873
	dd	8
	dd	3
	dd	_874
	dd	_875
	dd	12
	dd	3
	dd	_876
	dd	_626
	dd	16
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	6
	dd	_877
	dd	_878
	dd	48
	dd	6
	dd	_841
	dd	_533
	dd	52
	dd	6
	dd	_879
	dd	_880
	dd	56
	dd	6
	dd	_881
	dd	_839
	dd	60
	dd	6
	dd	_882
	dd	_722
	dd	64
	dd	6
	dd	_883
	dd	_884
	dd	68
	dd	6
	dd	_885
	dd	_843
	dd	72
	dd	6
	dd	_886
	dd	_887
	dd	76
	dd	6
	dd	_888
	dd	_863
	dd	80
	dd	6
	dd	_804
	dd	_719
	dd	84
	dd	0
	align	4
_c3d_cal3d_CalCoreSkeleton:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_870
	dd	20
	dd	__c3d_cal3d_CalCoreSkeleton_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreSkeleton_addCoreBone
	dd	__c3d_cal3d_CalCoreSkeleton_calculateState
	dd	__c3d_cal3d_CalCoreSkeleton_getCoreBonebyID
	dd	__c3d_cal3d_CalCoreSkeleton_getCoreBone
	dd	__c3d_cal3d_CalCoreSkeleton_getCoreBoneId
	dd	__c3d_cal3d_CalCoreSkeleton_mapCoreBoneName
	dd	__c3d_cal3d_CalCoreSkeleton_getVectorRootCoreBoneId
	dd	__c3d_cal3d_CalCoreSkeleton_getVectorCoreBone
	dd	__c3d_cal3d_CalCoreSkeleton_calculateBoundingBoxes
	dd	__c3d_cal3d_CalCoreSkeleton_scale
_890:
	db	"CalCoreModel",0
_891:
	db	"m_vectorCoreAnimation",0
_892:
	db	"[]:CalCoreAnimation",0
_893:
	db	"m_vectorCoreMorphAnimation",0
_894:
	db	"[]:CalCoreMorphAnimation",0
_895:
	db	"m_vectorCoreAnimatedMorph",0
_896:
	db	"[]:CalCoreAnimatedMorph",0
_897:
	db	"m_vectorCoreMesh",0
_898:
	db	"[]:CalCoreMesh",0
_899:
	db	"m_vectorCoreMaterial",0
_900:
	db	"[]:CalCoreMaterial",0
_901:
	db	"m_mapmapCoreMaterialThread",0
_902:
	db	":IntMap",0
_903:
	db	"m_animationName",0
_904:
	db	"m_materialName",0
_905:
	db	"m_meshName",0
_906:
	db	"addCoreAnimation",0
_907:
	db	"(:CalCoreAnimation)i",0
_908:
	db	"getCoreAnimation",0
_909:
	db	"(i):CalCoreAnimation",0
_910:
	db	"getCoreAnimationCount",0
_911:
	db	"loadCoreAnimation",0
_912:
	db	"unloadCoreAnimationbyID",0
_913:
	db	"unloadCoreAnimation",0
_914:
	db	"saveCoreAnimation",0
_915:
	db	"($,i)b",0
_916:
	db	"addAnimationName",0
_917:
	db	"getCoreAnimationId",0
_918:
	db	"addCoreMorphAnimation",0
_919:
	db	"(:CalCoreMorphAnimation)i",0
_920:
	db	"addCoreAnimatedMorph",0
_921:
	db	"(:CalCoreAnimatedMorph)i",0
_922:
	db	"removeCoreAnimatedMorph",0
_923:
	db	"getCoreMorphAnimation",0
_924:
	db	"(i):CalCoreMorphAnimation",0
_925:
	db	"getCoreAnimatedMorph",0
_926:
	db	"(i):CalCoreAnimatedMorph",0
_927:
	db	"getCoreMorphAnimationCount",0
_928:
	db	"addCoreMaterial",0
_929:
	db	"(:CalCoreMaterial)i",0
_930:
	db	"createCoreMaterialThread",0
_931:
	db	"getCoreMaterial",0
_932:
	db	"(i):CalCoreMaterial",0
_933:
	db	"getCoreMaterialCount",0
_934:
	db	"getCoreMaterialId",0
_935:
	db	"getCoreMaterialIdbyID",0
_936:
	db	"(i,i)i",0
_937:
	db	"loadCoreMaterial",0
_938:
	db	"unloadCoreMaterialbyID",0
_939:
	db	"unloadCoreMaterial",0
_940:
	db	"saveCoreMaterial",0
_941:
	db	"($,i)i",0
_942:
	db	"setCoreMaterialId",0
_943:
	db	"(i,i,i)b",0
_944:
	db	"addMaterialName",0
_945:
	db	"addCoreMesh",0
_946:
	db	"getCoreMesh",0
_947:
	db	"(i):CalCoreMesh",0
_948:
	db	"getCoreMeshCount",0
_949:
	db	"loadCoreMesh",0
_950:
	db	"unloadCoreMeshbyID",0
_951:
	db	"unloadCoreMesh",0
_952:
	db	"saveCoreMesh",0
_953:
	db	"addMeshName",0
_954:
	db	"getCoreMeshId",0
_955:
	db	"makemodel",0
_956:
	db	"():CalModel",0
_957:
	db	"loadCoreSkeleton",0
_958:
	db	"saveCoreSkeleton",0
_959:
	db	"addBoneName",0
_960:
	db	"getBoneId",0
	align	4
_889:
	dd	2
	dd	_890
	dd	3
	dd	_692
	dd	_669
	dd	8
	dd	3
	dd	_822
	dd	_823
	dd	12
	dd	3
	dd	_891
	dd	_892
	dd	16
	dd	3
	dd	_893
	dd	_894
	dd	20
	dd	3
	dd	_895
	dd	_896
	dd	24
	dd	3
	dd	_897
	dd	_898
	dd	28
	dd	3
	dd	_899
	dd	_900
	dd	32
	dd	3
	dd	_901
	dd	_902
	dd	36
	dd	3
	dd	_903
	dd	_875
	dd	40
	dd	3
	dd	_904
	dd	_875
	dd	44
	dd	3
	dd	_905
	dd	_875
	dd	48
	dd	3
	dd	_691
	dd	_680
	dd	52
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	6
	dd	_703
	dd	_704
	dd	48
	dd	6
	dd	_724
	dd	_725
	dd	52
	dd	6
	dd	_804
	dd	_719
	dd	56
	dd	6
	dd	_906
	dd	_907
	dd	60
	dd	6
	dd	_908
	dd	_909
	dd	64
	dd	6
	dd	_910
	dd	_533
	dd	68
	dd	6
	dd	_911
	dd	_722
	dd	72
	dd	6
	dd	_912
	dd	_783
	dd	76
	dd	6
	dd	_913
	dd	_722
	dd	80
	dd	6
	dd	_914
	dd	_915
	dd	84
	dd	6
	dd	_916
	dd	_915
	dd	88
	dd	6
	dd	_917
	dd	_722
	dd	92
	dd	6
	dd	_918
	dd	_919
	dd	96
	dd	6
	dd	_920
	dd	_921
	dd	100
	dd	6
	dd	_922
	dd	_676
	dd	104
	dd	6
	dd	_923
	dd	_924
	dd	108
	dd	6
	dd	_925
	dd	_926
	dd	112
	dd	6
	dd	_927
	dd	_533
	dd	116
	dd	6
	dd	_928
	dd	_929
	dd	120
	dd	6
	dd	_930
	dd	_676
	dd	124
	dd	6
	dd	_931
	dd	_932
	dd	128
	dd	6
	dd	_933
	dd	_533
	dd	132
	dd	6
	dd	_934
	dd	_722
	dd	136
	dd	6
	dd	_935
	dd	_936
	dd	140
	dd	6
	dd	_937
	dd	_722
	dd	144
	dd	6
	dd	_938
	dd	_783
	dd	148
	dd	6
	dd	_939
	dd	_722
	dd	152
	dd	6
	dd	_940
	dd	_941
	dd	156
	dd	6
	dd	_942
	dd	_943
	dd	160
	dd	6
	dd	_944
	dd	_915
	dd	164
	dd	6
	dd	_945
	dd	_819
	dd	168
	dd	6
	dd	_946
	dd	_947
	dd	172
	dd	6
	dd	_948
	dd	_533
	dd	176
	dd	6
	dd	_949
	dd	_722
	dd	180
	dd	6
	dd	_950
	dd	_783
	dd	184
	dd	6
	dd	_951
	dd	_722
	dd	188
	dd	6
	dd	_952
	dd	_941
	dd	192
	dd	6
	dd	_953
	dd	_915
	dd	196
	dd	6
	dd	_954
	dd	_722
	dd	200
	dd	6
	dd	_955
	dd	_956
	dd	204
	dd	6
	dd	_845
	dd	_846
	dd	208
	dd	6
	dd	_957
	dd	_722
	dd	212
	dd	6
	dd	_958
	dd	_722
	dd	216
	dd	6
	dd	_855
	dd	_856
	dd	220
	dd	6
	dd	_959
	dd	_941
	dd	224
	dd	6
	dd	_960
	dd	_722
	dd	228
	dd	0
	align	4
_c3d_cal3d_CalCoreModel:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_889
	dd	56
	dd	__c3d_cal3d_CalCoreModel_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreModel_getUserData
	dd	__c3d_cal3d_CalCoreModel_setUserData
	dd	__c3d_cal3d_CalCoreModel_scale
	dd	__c3d_cal3d_CalCoreModel_addCoreAnimation
	dd	__c3d_cal3d_CalCoreModel_getCoreAnimation
	dd	__c3d_cal3d_CalCoreModel_getCoreAnimationCount
	dd	__c3d_cal3d_CalCoreModel_loadCoreAnimation
	dd	__c3d_cal3d_CalCoreModel_unloadCoreAnimationbyID
	dd	__c3d_cal3d_CalCoreModel_unloadCoreAnimation
	dd	__c3d_cal3d_CalCoreModel_saveCoreAnimation
	dd	__c3d_cal3d_CalCoreModel_addAnimationName
	dd	__c3d_cal3d_CalCoreModel_getCoreAnimationId
	dd	__c3d_cal3d_CalCoreModel_addCoreMorphAnimation
	dd	__c3d_cal3d_CalCoreModel_addCoreAnimatedMorph
	dd	__c3d_cal3d_CalCoreModel_removeCoreAnimatedMorph
	dd	__c3d_cal3d_CalCoreModel_getCoreMorphAnimation
	dd	__c3d_cal3d_CalCoreModel_getCoreAnimatedMorph
	dd	__c3d_cal3d_CalCoreModel_getCoreMorphAnimationCount
	dd	__c3d_cal3d_CalCoreModel_addCoreMaterial
	dd	__c3d_cal3d_CalCoreModel_createCoreMaterialThread
	dd	__c3d_cal3d_CalCoreModel_getCoreMaterial
	dd	__c3d_cal3d_CalCoreModel_getCoreMaterialCount
	dd	__c3d_cal3d_CalCoreModel_getCoreMaterialId
	dd	__c3d_cal3d_CalCoreModel_getCoreMaterialIdbyID
	dd	__c3d_cal3d_CalCoreModel_loadCoreMaterial
	dd	__c3d_cal3d_CalCoreModel_unloadCoreMaterialbyID
	dd	__c3d_cal3d_CalCoreModel_unloadCoreMaterial
	dd	__c3d_cal3d_CalCoreModel_saveCoreMaterial
	dd	__c3d_cal3d_CalCoreModel_setCoreMaterialId
	dd	__c3d_cal3d_CalCoreModel_addMaterialName
	dd	__c3d_cal3d_CalCoreModel_addCoreMesh
	dd	__c3d_cal3d_CalCoreModel_getCoreMesh
	dd	__c3d_cal3d_CalCoreModel_getCoreMeshCount
	dd	__c3d_cal3d_CalCoreModel_loadCoreMesh
	dd	__c3d_cal3d_CalCoreModel_unloadCoreMeshbyID
	dd	__c3d_cal3d_CalCoreModel_unloadCoreMesh
	dd	__c3d_cal3d_CalCoreModel_saveCoreMesh
	dd	__c3d_cal3d_CalCoreModel_addMeshName
	dd	__c3d_cal3d_CalCoreModel_getCoreMeshId
	dd	__c3d_cal3d_CalCoreModel_makemodel
	dd	__c3d_cal3d_CalCoreModel_getCoreSkeleton
	dd	__c3d_cal3d_CalCoreModel_loadCoreSkeleton
	dd	__c3d_cal3d_CalCoreModel_saveCoreSkeleton
	dd	__c3d_cal3d_CalCoreModel_setCoreSkeleton
	dd	__c3d_cal3d_CalCoreModel_addBoneName
	dd	__c3d_cal3d_CalCoreModel_getBoneId
_962:
	db	"CalCoreAnimation",0
_963:
	db	"m_listCallbacks",0
_964:
	db	"[]:CalCallbackRecord",0
_965:
	db	"m_duration",0
_966:
	db	"m_listCoreTrack",0
_967:
	db	"[]:CalCoreTrack",0
_968:
	db	"addCoreTrack",0
_969:
	db	"(:CalCoreTrack)b",0
_970:
	db	"getCoreTrack",0
_971:
	db	"(i):CalCoreTrack",0
_972:
	db	"getDuration",0
_973:
	db	"setDuration",0
_974:
	db	"registerCallback",0
_975:
	db	"(:CalAnimationCallback,f)i",0
_976:
	db	"removeCallback",0
_977:
	db	"(:CalAnimationCallback)i",0
_978:
	db	"getCallbackList",0
_979:
	db	"()[]:CalCallbackRecord",0
_980:
	db	"getTrackCount",0
_981:
	db	"getListCoreTrack",0
_982:
	db	"()[]:CalCoreTrack",0
_983:
	db	"getTotalNumberOfKeyframes",0
	align	4
_961:
	dd	2
	dd	_962
	dd	3
	dd	_963
	dd	_964
	dd	8
	dd	3
	dd	_965
	dd	_523
	dd	12
	dd	3
	dd	_966
	dd	_967
	dd	16
	dd	3
	dd	_692
	dd	_669
	dd	20
	dd	3
	dd	_693
	dd	_669
	dd	24
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	6
	dd	_968
	dd	_969
	dd	48
	dd	6
	dd	_970
	dd	_971
	dd	52
	dd	6
	dd	_972
	dd	_544
	dd	56
	dd	6
	dd	_973
	dd	_719
	dd	60
	dd	6
	dd	_804
	dd	_719
	dd	64
	dd	6
	dd	_721
	dd	_722
	dd	68
	dd	6
	dd	_707
	dd	_708
	dd	72
	dd	6
	dd	_723
	dd	_722
	dd	76
	dd	6
	dd	_709
	dd	_708
	dd	80
	dd	6
	dd	_974
	dd	_975
	dd	84
	dd	6
	dd	_976
	dd	_977
	dd	88
	dd	6
	dd	_978
	dd	_979
	dd	92
	dd	6
	dd	_980
	dd	_533
	dd	96
	dd	6
	dd	_981
	dd	_982
	dd	100
	dd	6
	dd	_983
	dd	_533
	dd	104
	dd	0
	align	4
_c3d_cal3d_CalCoreAnimation:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_961
	dd	28
	dd	__c3d_cal3d_CalCoreAnimation_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreAnimation_addCoreTrack
	dd	__c3d_cal3d_CalCoreAnimation_getCoreTrack
	dd	__c3d_cal3d_CalCoreAnimation_getDuration
	dd	__c3d_cal3d_CalCoreAnimation_setDuration
	dd	__c3d_cal3d_CalCoreAnimation_scale
	dd	__c3d_cal3d_CalCoreAnimation_setFilename
	dd	__c3d_cal3d_CalCoreAnimation_getFilename
	dd	__c3d_cal3d_CalCoreAnimation_setName
	dd	__c3d_cal3d_CalCoreAnimation_getName
	dd	__c3d_cal3d_CalCoreAnimation_registerCallback
	dd	__c3d_cal3d_CalCoreAnimation_removeCallback
	dd	__c3d_cal3d_CalCoreAnimation_getCallbackList
	dd	__c3d_cal3d_CalCoreAnimation_getTrackCount
	dd	__c3d_cal3d_CalCoreAnimation_getListCoreTrack
	dd	__c3d_cal3d_CalCoreAnimation_getTotalNumberOfKeyframes
_985:
	db	"CalCallbackRecord",0
_986:
	db	"callback",0
_987:
	db	":CalAnimationCallback",0
_988:
	db	"min_interval",0
_989:
	db	"FromCallback",0
_990:
	db	"(:CalAnimationCallback,f):CalCallbackRecord",0
	align	4
_984:
	dd	2
	dd	_985
	dd	3
	dd	_986
	dd	_987
	dd	8
	dd	3
	dd	_988
	dd	_523
	dd	12
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_989
	dd	_990
	dd	48
	dd	0
	align	4
_c3d_cal3d_CalCallbackRecord:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_984
	dd	16
	dd	__c3d_cal3d_CalCallbackRecord_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCallbackRecord_FromCallback
_992:
	db	"CalCoreKeyframe",0
_993:
	db	"m_time",0
_994:
	db	"(f,:CalVector,:CalQuaternion):CalCoreKeyframe",0
_995:
	db	"destroy",0
_996:
	db	"getTime",0
_997:
	db	"setTime",0
	align	4
_991:
	dd	2
	dd	_992
	dd	3
	dd	_993
	dd	_523
	dd	8
	dd	3
	dd	_826
	dd	_594
	dd	12
	dd	3
	dd	_827
	dd	_828
	dd	16
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_620
	dd	_994
	dd	48
	dd	6
	dd	_838
	dd	_869
	dd	52
	dd	6
	dd	_995
	dd	_533
	dd	56
	dd	6
	dd	_847
	dd	_848
	dd	60
	dd	6
	dd	_851
	dd	_852
	dd	64
	dd	6
	dd	_996
	dd	_544
	dd	68
	dd	6
	dd	_858
	dd	_537
	dd	72
	dd	6
	dd	_860
	dd	_573
	dd	76
	dd	6
	dd	_997
	dd	_719
	dd	80
	dd	0
	align	4
_c3d_cal3d_CalCoreKeyframe:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_991
	dd	20
	dd	__c3d_cal3d_CalCoreKeyframe_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreKeyframe_FromData
	dd	__c3d_cal3d_CalCoreKeyframe_Create
	dd	__c3d_cal3d_CalCoreKeyframe_destroy
	dd	__c3d_cal3d_CalCoreKeyframe_GetRotation
	dd	__c3d_cal3d_CalCoreKeyframe_getTranslation
	dd	__c3d_cal3d_CalCoreKeyframe_getTime
	dd	__c3d_cal3d_CalCoreKeyframe_SetRotation
	dd	__c3d_cal3d_CalCoreKeyframe_setTranslation
	dd	__c3d_cal3d_CalCoreKeyframe_setTime
_999:
	db	"CalCoreTrack",0
_1000:
	db	"m_coreBoneId",0
_1001:
	db	"m_keyframes",0
_1002:
	db	"[]:CalCoreKeyframe",0
_1003:
	db	"getState",0
_1004:
	db	"(f,:CalVector,:CalQuaternion)b",0
_1005:
	db	"setCoreBoneId",0
_1006:
	db	"getCoreKeyframeCount",0
_1007:
	db	"getCoreKeyframe",0
_1008:
	db	"(i):CalCoreKeyframe",0
_1009:
	db	"addCoreKeyframe",0
_1010:
	db	"(:CalCoreKeyframe)b",0
_1011:
	db	"removeCoreKeyFrame",0
_1012:
	db	"getUpperBound",0
	align	4
_998:
	dd	2
	dd	_999
	dd	3
	dd	_1000
	dd	_601
	dd	8
	dd	3
	dd	_1001
	dd	_1002
	dd	12
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	6
	dd	_838
	dd	_869
	dd	48
	dd	6
	dd	_995
	dd	_533
	dd	52
	dd	6
	dd	_1003
	dd	_1004
	dd	56
	dd	6
	dd	_882
	dd	_533
	dd	60
	dd	6
	dd	_1005
	dd	_676
	dd	64
	dd	6
	dd	_1006
	dd	_533
	dd	68
	dd	6
	dd	_1007
	dd	_1008
	dd	72
	dd	6
	dd	_1009
	dd	_1010
	dd	76
	dd	6
	dd	_1011
	dd	_783
	dd	80
	dd	6
	dd	_804
	dd	_719
	dd	84
	dd	6
	dd	_1012
	dd	_719
	dd	88
	dd	0
	align	4
_c3d_cal3d_CalCoreTrack:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_998
	dd	16
	dd	__c3d_cal3d_CalCoreTrack_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreTrack_Create
	dd	__c3d_cal3d_CalCoreTrack_destroy
	dd	__c3d_cal3d_CalCoreTrack_getState
	dd	__c3d_cal3d_CalCoreTrack_getCoreBoneId
	dd	__c3d_cal3d_CalCoreTrack_setCoreBoneId
	dd	__c3d_cal3d_CalCoreTrack_getCoreKeyframeCount
	dd	__c3d_cal3d_CalCoreTrack_getCoreKeyframe
	dd	__c3d_cal3d_CalCoreTrack_addCoreKeyframe
	dd	__c3d_cal3d_CalCoreTrack_removeCoreKeyFrame
	dd	__c3d_cal3d_CalCoreTrack_scale
	dd	__c3d_cal3d_CalCoreTrack_getUpperBound
_1014:
	db	"CalCoreMorphTrack",0
_1015:
	db	"m_morphName",0
_1016:
	db	"[]:CalCoreMorphKeyframe",0
_1017:
	db	"m_keyframesToDelete",0
_1018:
	db	"Build",0
_1019:
	db	"($):CalCoreMorphTrack",0
_1020:
	db	"addCoreMorphKeyframe",0
_1021:
	db	"(:CalCoreMorphKeyframe)b",0
_1022:
	db	"(f,f)b",0
_1023:
	db	"setMorphName",0
_1024:
	db	"getMorphName",0
_1025:
	db	"getCoreMorphKeyframeCount",0
_1026:
	db	"getCoreMorphKeyframe",0
_1027:
	db	"(i):CalCoreMorphKeyframe",0
_1028:
	db	"getVectorCoreMorphKeyframes",0
_1029:
	db	"()[]:CalCoreMorphKeyframe",0
	align	4
_1013:
	dd	2
	dd	_1014
	dd	3
	dd	_1015
	dd	_669
	dd	8
	dd	3
	dd	_1001
	dd	_1016
	dd	12
	dd	3
	dd	_1017
	dd	_1016
	dd	16
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_1018
	dd	_1019
	dd	48
	dd	6
	dd	_1020
	dd	_1021
	dd	52
	dd	6
	dd	_1003
	dd	_1022
	dd	56
	dd	6
	dd	_1012
	dd	_719
	dd	60
	dd	6
	dd	_1023
	dd	_722
	dd	64
	dd	6
	dd	_1024
	dd	_708
	dd	68
	dd	6
	dd	_1025
	dd	_533
	dd	72
	dd	6
	dd	_710
	dd	_783
	dd	76
	dd	6
	dd	_1026
	dd	_1027
	dd	80
	dd	6
	dd	_804
	dd	_719
	dd	84
	dd	6
	dd	_1028
	dd	_1029
	dd	88
	dd	0
	align	4
_c3d_cal3d_CalCoreMorphTrack:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1013
	dd	20
	dd	__c3d_cal3d_CalCoreMorphTrack_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreMorphTrack_Build
	dd	__c3d_cal3d_CalCoreMorphTrack_addCoreMorphKeyframe
	dd	__c3d_cal3d_CalCoreMorphTrack_getState
	dd	__c3d_cal3d_CalCoreMorphTrack_getUpperBound
	dd	__c3d_cal3d_CalCoreMorphTrack_setMorphName
	dd	__c3d_cal3d_CalCoreMorphTrack_getMorphName
	dd	__c3d_cal3d_CalCoreMorphTrack_getCoreMorphKeyframeCount
	dd	__c3d_cal3d_CalCoreMorphTrack_reserve
	dd	__c3d_cal3d_CalCoreMorphTrack_getCoreMorphKeyframe
	dd	__c3d_cal3d_CalCoreMorphTrack_scale
	dd	__c3d_cal3d_CalCoreMorphTrack_getVectorCoreMorphKeyframes
_1031:
	db	"CalCoreMorphKeyframe",0
_1032:
	db	"m_weight",0
_1033:
	db	"getWeight",0
_1034:
	db	"setWeight",0
	align	4
_1030:
	dd	2
	dd	_1031
	dd	3
	dd	_993
	dd	_523
	dd	8
	dd	3
	dd	_1032
	dd	_523
	dd	12
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	6
	dd	_996
	dd	_544
	dd	48
	dd	6
	dd	_1033
	dd	_544
	dd	52
	dd	6
	dd	_997
	dd	_719
	dd	56
	dd	6
	dd	_1034
	dd	_719
	dd	60
	dd	0
	align	4
_c3d_cal3d_CalCoreMorphKeyframe:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1030
	dd	16
	dd	__c3d_cal3d_CalCoreMorphKeyframe_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreMorphKeyframe_getTime
	dd	__c3d_cal3d_CalCoreMorphKeyframe_getWeight
	dd	__c3d_cal3d_CalCoreMorphKeyframe_setTime
	dd	__c3d_cal3d_CalCoreMorphKeyframe_setWeight
_1036:
	db	"CalCoreMorphAnimation",0
_1037:
	db	"m_vectorCoreMeshID",0
_1038:
	db	"m_vectorMorphTargetID",0
_1039:
	db	"addMorphTarget",0
_1040:
	db	"(i,i)b",0
_1041:
	db	"getVectorCoreMeshID",0
_1042:
	db	"getVectorMorphTargetID",0
	align	4
_1035:
	dd	2
	dd	_1036
	dd	3
	dd	_1037
	dd	_626
	dd	8
	dd	3
	dd	_1038
	dd	_626
	dd	12
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	6
	dd	_1039
	dd	_1040
	dd	48
	dd	6
	dd	_1041
	dd	_843
	dd	52
	dd	6
	dd	_1042
	dd	_843
	dd	56
	dd	0
	align	4
_c3d_cal3d_CalCoreMorphAnimation:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1035
	dd	16
	dd	__c3d_cal3d_CalCoreMorphAnimation_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreMorphAnimation_addMorphTarget
	dd	__c3d_cal3d_CalCoreMorphAnimation_getVectorCoreMeshID
	dd	__c3d_cal3d_CalCoreMorphAnimation_getVectorMorphTargetID
_1044:
	db	"CalCoreAnimatedMorph",0
_1045:
	db	"[]:CalCoreMorphTrack",0
_1046:
	db	"m_tracksToDelete",0
_1047:
	db	"(:CalCoreMorphTrack)b",0
_1048:
	db	"removeZeroScaleTracks",0
_1049:
	db	"()[]:CalCoreMorphTrack",0
	align	4
_1043:
	dd	2
	dd	_1044
	dd	3
	dd	_965
	dd	_523
	dd	8
	dd	3
	dd	_966
	dd	_1045
	dd	12
	dd	3
	dd	_1046
	dd	_1045
	dd	16
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	6
	dd	_968
	dd	_1047
	dd	48
	dd	6
	dd	_1048
	dd	_533
	dd	52
	dd	6
	dd	_970
	dd	_1019
	dd	56
	dd	6
	dd	_972
	dd	_544
	dd	60
	dd	6
	dd	_981
	dd	_1049
	dd	64
	dd	6
	dd	_973
	dd	_719
	dd	68
	dd	6
	dd	_804
	dd	_719
	dd	72
	dd	0
	align	4
_c3d_cal3d_CalCoreAnimatedMorph:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1043
	dd	20
	dd	__c3d_cal3d_CalCoreAnimatedMorph_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreAnimatedMorph_addCoreTrack
	dd	__c3d_cal3d_CalCoreAnimatedMorph_removeZeroScaleTracks
	dd	__c3d_cal3d_CalCoreAnimatedMorph_getCoreTrack
	dd	__c3d_cal3d_CalCoreAnimatedMorph_getDuration
	dd	__c3d_cal3d_CalCoreAnimatedMorph_getListCoreTrack
	dd	__c3d_cal3d_CalCoreAnimatedMorph_setDuration
	dd	__c3d_cal3d_CalCoreAnimatedMorph_scale
_1051:
	db	"CalCoreSubMorphTarget",0
_1052:
	db	"m_vectorBlendVertex",0
_1053:
	db	"[]:CalBlendVertex",0
_1054:
	db	"($):CalCoreSubMorphTarget",0
_1055:
	db	"getBlendVertexCount",0
_1056:
	db	"getVectorBlendVertex",0
_1057:
	db	"()[]:CalBlendVertex",0
_1058:
	db	"setBlendVertex",0
_1059:
	db	"(i,:CalBlendVertex)b",0
	align	4
_1050:
	dd	2
	dd	_1051
	dd	3
	dd	_1052
	dd	_1053
	dd	8
	dd	3
	dd	_692
	dd	_669
	dd	12
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_838
	dd	_1054
	dd	48
	dd	6
	dd	_1055
	dd	_533
	dd	52
	dd	6
	dd	_1056
	dd	_1057
	dd	56
	dd	6
	dd	_710
	dd	_676
	dd	60
	dd	6
	dd	_1058
	dd	_1059
	dd	64
	dd	0
	align	4
_c3d_cal3d_CalCoreSubMorphTarget:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1050
	dd	16
	dd	__c3d_cal3d_CalCoreSubMorphTarget_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCoreSubMorphTarget_Create
	dd	__c3d_cal3d_CalCoreSubMorphTarget_getBlendVertexCount
	dd	__c3d_cal3d_CalCoreSubMorphTarget_getVectorBlendVertex
	dd	__c3d_cal3d_CalCoreSubMorphTarget_reserve
	dd	__c3d_cal3d_CalCoreSubMorphTarget_setBlendVertex
_1061:
	db	"CalBlendVertex",0
	align	4
_1060:
	dd	2
	dd	_1061
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	0
	align	4
_c3d_cal3d_CalBlendVertex:
	dd	_c3d_cal3d_CalVertex
	dd	_bbObjectFree
	dd	_1060
	dd	28
	dd	__c3d_cal3d_CalBlendVertex_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalVertex_FromVector
	dd	__c3d_cal3d_CalVertex_FromData
	dd	__c3d_cal3d_CalVertex_assign
	dd	__c3d_cal3d_CalVertex_assignVector
_1063:
	db	"CalSubmesh",0
_1064:
	db	"m_coreSubmesh",0
_1065:
	db	":CalCoreSubmesh",0
_1066:
	db	"m_vectorMorphTargetWeight",0
_1067:
	db	"[]f",0
_1068:
	db	"m_vectorNormal",0
_1069:
	db	"m_vertexCount",0
_1070:
	db	"m_faceCount",0
_1071:
	db	"m_coreMaterialId",0
_1072:
	db	"m_bInternalData",0
_1073:
	db	"FromCore",0
_1074:
	db	"(:CalCoreSubmesh):CalSubmesh",0
_1075:
	db	"():CalCoreSubmesh",0
_1076:
	db	"getFaces",0
_1077:
	db	"([]s)i",0
_1078:
	db	"getVectorNormal",0
_1079:
	db	"()[]:CalVector",0
_1080:
	db	"hasInternalData",0
_1081:
	db	"disableInternalData",0
_1082:
	db	"setLodLevel",0
_1083:
	db	"getVectorWeight",0
_1084:
	db	"setMorphTargetWeight",0
_1085:
	db	"(i,f)i",0
_1086:
	db	"setMorphTargetWeightbyName",0
_1087:
	db	"($,f)i",0
_1088:
	db	"getMorphTargetWeight",0
_1089:
	db	"(i)f",0
_1090:
	db	"getBaseWeight",0
_1091:
	db	"getMorphTargetWeightCount",0
_1092:
	db	"getVectorMorphTargetWeight",0
_1093:
	db	"()[]f",0
	align	4
_1062:
	dd	2
	dd	_1063
	dd	3
	dd	_1064
	dd	_1065
	dd	8
	dd	3
	dd	_1066
	dd	_1067
	dd	12
	dd	3
	dd	_742
	dd	_836
	dd	16
	dd	3
	dd	_1068
	dd	_836
	dd	20
	dd	3
	dd	_746
	dd	_747
	dd	24
	dd	3
	dd	_753
	dd	_754
	dd	28
	dd	3
	dd	_751
	dd	_752
	dd	32
	dd	3
	dd	_1069
	dd	_601
	dd	36
	dd	3
	dd	_1070
	dd	_601
	dd	40
	dd	3
	dd	_1071
	dd	_601
	dd	44
	dd	3
	dd	_1072
	dd	_641
	dd	48
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_1073
	dd	_1074
	dd	48
	dd	6
	dd	_813
	dd	_1075
	dd	52
	dd	6
	dd	_934
	dd	_533
	dd	56
	dd	6
	dd	_762
	dd	_533
	dd	60
	dd	6
	dd	_1076
	dd	_1077
	dd	64
	dd	6
	dd	_1078
	dd	_1079
	dd	68
	dd	6
	dd	_771
	dd	_772
	dd	72
	dd	6
	dd	_767
	dd	_768
	dd	76
	dd	6
	dd	_775
	dd	_1079
	dd	80
	dd	6
	dd	_777
	dd	_533
	dd	84
	dd	6
	dd	_1080
	dd	_869
	dd	88
	dd	6
	dd	_1081
	dd	_533
	dd	92
	dd	6
	dd	_942
	dd	_783
	dd	96
	dd	6
	dd	_1082
	dd	_719
	dd	100
	dd	6
	dd	_778
	dd	_676
	dd	104
	dd	6
	dd	_779
	dd	_780
	dd	108
	dd	6
	dd	_1083
	dd	_544
	dd	112
	dd	6
	dd	_1084
	dd	_1085
	dd	116
	dd	6
	dd	_1086
	dd	_1087
	dd	120
	dd	6
	dd	_1088
	dd	_1089
	dd	124
	dd	6
	dd	_1090
	dd	_544
	dd	128
	dd	6
	dd	_1091
	dd	_533
	dd	132
	dd	6
	dd	_1092
	dd	_1093
	dd	136
	dd	0
	align	4
_c3d_cal3d_CalSubmesh:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1062
	dd	49
	dd	__c3d_cal3d_CalSubmesh_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalSubmesh_FromCore
	dd	__c3d_cal3d_CalSubmesh_getCoreSubmesh
	dd	__c3d_cal3d_CalSubmesh_getCoreMaterialId
	dd	__c3d_cal3d_CalSubmesh_getFaceCount
	dd	__c3d_cal3d_CalSubmesh_getFaces
	dd	__c3d_cal3d_CalSubmesh_getVectorNormal
	dd	__c3d_cal3d_CalSubmesh_getVectorVectorTangentSpace
	dd	__c3d_cal3d_CalSubmesh_getVectorPhysicalProperty
	dd	__c3d_cal3d_CalSubmesh_getVectorVertex
	dd	__c3d_cal3d_CalSubmesh_getVertexCount
	dd	__c3d_cal3d_CalSubmesh_hasInternalData
	dd	__c3d_cal3d_CalSubmesh_disableInternalData
	dd	__c3d_cal3d_CalSubmesh_setCoreMaterialId
	dd	__c3d_cal3d_CalSubmesh_setLodLevel
	dd	__c3d_cal3d_CalSubmesh_isTangentsEnabled
	dd	__c3d_cal3d_CalSubmesh_enableTangents
	dd	__c3d_cal3d_CalSubmesh_getVectorWeight
	dd	__c3d_cal3d_CalSubmesh_setMorphTargetWeight
	dd	__c3d_cal3d_CalSubmesh_setMorphTargetWeightbyName
	dd	__c3d_cal3d_CalSubmesh_getMorphTargetWeight
	dd	__c3d_cal3d_CalSubmesh_getBaseWeight
	dd	__c3d_cal3d_CalSubmesh_getMorphTargetWeightCount
	dd	__c3d_cal3d_CalSubmesh_getVectorMorphTargetWeight
_1095:
	db	"CalMesh",0
_1096:
	db	"m_model",0
_1097:
	db	":CalModel",0
_1098:
	db	"m_coreMesh",0
_1099:
	db	":CalCoreMesh",0
_1100:
	db	"m_vectorSubmesh",0
_1101:
	db	"[]:CalSubmesh",0
_1102:
	db	"(:CalCoreMesh):CalMesh",0
_1103:
	db	"():CalCoreMesh",0
_1104:
	db	"getSubmesh",0
_1105:
	db	"(i):CalSubmesh",0
_1106:
	db	"getSubmeshCount",0
_1107:
	db	"getVectorSubmesh",0
_1108:
	db	"()[]:CalSubmesh",0
_1109:
	db	"setMaterialSet",0
_1110:
	db	"setModel",0
_1111:
	db	"(:CalModel)i",0
	align	4
_1094:
	dd	2
	dd	_1095
	dd	3
	dd	_1096
	dd	_1097
	dd	8
	dd	3
	dd	_1098
	dd	_1099
	dd	12
	dd	3
	dd	_1100
	dd	_1101
	dd	16
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_1073
	dd	_1102
	dd	48
	dd	6
	dd	_946
	dd	_1103
	dd	52
	dd	6
	dd	_1104
	dd	_1105
	dd	56
	dd	6
	dd	_1106
	dd	_533
	dd	60
	dd	6
	dd	_1107
	dd	_1108
	dd	64
	dd	6
	dd	_1082
	dd	_719
	dd	68
	dd	6
	dd	_1109
	dd	_783
	dd	72
	dd	6
	dd	_1110
	dd	_1111
	dd	76
	dd	6
	dd	_1081
	dd	_533
	dd	80
	dd	0
	align	4
_c3d_cal3d_CalMesh:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1094
	dd	20
	dd	__c3d_cal3d_CalMesh_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalMesh_FromCore
	dd	__c3d_cal3d_CalMesh_getCoreMesh
	dd	__c3d_cal3d_CalMesh_getSubmesh
	dd	__c3d_cal3d_CalMesh_getSubmeshCount
	dd	__c3d_cal3d_CalMesh_getVectorSubmesh
	dd	__c3d_cal3d_CalMesh_setLodLevel
	dd	__c3d_cal3d_CalMesh_setMaterialSet
	dd	__c3d_cal3d_CalMesh_setModel
	dd	__c3d_cal3d_CalMesh_disableInternalData
_1113:
	db	"CalBone",0
_1114:
	db	"m_coreBone",0
_1115:
	db	":CalCoreBone",0
_1116:
	db	"m_skeleton",0
_1117:
	db	":CalSkeleton",0
_1118:
	db	"m_accumulatedWeight",0
_1119:
	db	"m_accumulatedWeightAbsolute",0
_1120:
	db	"m_transformMatrix",0
_1121:
	db	":CalMatrix",0
_1122:
	db	"(:CalCoreBone):CalBone",0
_1123:
	db	"blendState",0
_1124:
	db	"(f,:CalVector,:CalQuaternion)i",0
_1125:
	db	"clearState",0
_1126:
	db	"():CalCoreBone",0
_1127:
	db	"setCoreState",0
_1128:
	db	"setCoreStateRecursive",0
_1129:
	db	"getTransformMatrix",0
_1130:
	db	"():CalMatrix",0
_1131:
	db	"lockState",0
_1132:
	db	"setSkeleton",0
_1133:
	db	"(:CalSkeleton)i",0
	align	4
_1112:
	dd	2
	dd	_1113
	dd	3
	dd	_1114
	dd	_1115
	dd	8
	dd	3
	dd	_1116
	dd	_1117
	dd	12
	dd	3
	dd	_1118
	dd	_523
	dd	16
	dd	3
	dd	_1119
	dd	_523
	dd	20
	dd	3
	dd	_826
	dd	_594
	dd	24
	dd	3
	dd	_827
	dd	_828
	dd	28
	dd	3
	dd	_829
	dd	_594
	dd	32
	dd	3
	dd	_830
	dd	_828
	dd	36
	dd	3
	dd	_831
	dd	_594
	dd	40
	dd	3
	dd	_832
	dd	_828
	dd	44
	dd	3
	dd	_1120
	dd	_1121
	dd	48
	dd	3
	dd	_833
	dd	_834
	dd	52
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_1073
	dd	_1122
	dd	48
	dd	6
	dd	_1123
	dd	_1124
	dd	52
	dd	6
	dd	_841
	dd	_533
	dd	56
	dd	6
	dd	_1125
	dd	_533
	dd	60
	dd	6
	dd	_881
	dd	_1126
	dd	64
	dd	6
	dd	_1127
	dd	_533
	dd	68
	dd	6
	dd	_1128
	dd	_533
	dd	72
	dd	6
	dd	_858
	dd	_537
	dd	76
	dd	6
	dd	_847
	dd	_848
	dd	80
	dd	6
	dd	_849
	dd	_848
	dd	84
	dd	6
	dd	_850
	dd	_848
	dd	88
	dd	6
	dd	_860
	dd	_573
	dd	92
	dd	6
	dd	_851
	dd	_852
	dd	96
	dd	6
	dd	_853
	dd	_852
	dd	100
	dd	6
	dd	_854
	dd	_852
	dd	104
	dd	6
	dd	_1129
	dd	_1130
	dd	108
	dd	6
	dd	_1131
	dd	_533
	dd	112
	dd	6
	dd	_1132
	dd	_1133
	dd	116
	dd	6
	dd	_862
	dd	_533
	dd	120
	dd	6
	dd	_864
	dd	_865
	dd	124
	dd	0
	align	4
_c3d_cal3d_CalBone:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1112
	dd	56
	dd	__c3d_cal3d_CalBone_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalBone_FromCore
	dd	__c3d_cal3d_CalBone_blendState
	dd	__c3d_cal3d_CalBone_calculateState
	dd	__c3d_cal3d_CalBone_clearState
	dd	__c3d_cal3d_CalBone_getCoreBone
	dd	__c3d_cal3d_CalBone_setCoreState
	dd	__c3d_cal3d_CalBone_setCoreStateRecursive
	dd	__c3d_cal3d_CalBone_SetRotation
	dd	__c3d_cal3d_CalBone_GetRotation
	dd	__c3d_cal3d_CalBone_getRotationAbsolute
	dd	__c3d_cal3d_CalBone_getRotationBoneSpace
	dd	__c3d_cal3d_CalBone_setTranslation
	dd	__c3d_cal3d_CalBone_getTranslation
	dd	__c3d_cal3d_CalBone_getTranslationAbsolute
	dd	__c3d_cal3d_CalBone_getTranslationBoneSpace
	dd	__c3d_cal3d_CalBone_getTransformMatrix
	dd	__c3d_cal3d_CalBone_lockState
	dd	__c3d_cal3d_CalBone_setSkeleton
	dd	__c3d_cal3d_CalBone_calculateBoundingBox
	dd	__c3d_cal3d_CalBone_getBoundingBox
_1135:
	db	"CalSkeleton",0
_1136:
	db	"m_vectorBone",0
_1137:
	db	"[]:CalBone",0
_1138:
	db	"m_isBoundingBoxesComputed",0
_1139:
	db	"(:CalCoreSkeleton):CalSkeleton",0
_1140:
	db	"getBone",0
_1141:
	db	"(i):CalBone",0
_1142:
	db	"getVectorBone",0
_1143:
	db	"()[]:CalBone",0
_1144:
	db	"getBoneCount",0
_1145:
	db	"getBoneBoundingBox",0
_1146:
	db	"(:CalVector,:CalVector):CalMinMax",0
_1147:
	db	"getBonePoints",0
_1148:
	db	"([]f)i",0
_1149:
	db	"getBonePointsStatic",0
_1150:
	db	"getBoneLines",0
_1151:
	db	"getBoneLinesStatic",0
	align	4
_1134:
	dd	2
	dd	_1135
	dd	3
	dd	_822
	dd	_823
	dd	8
	dd	3
	dd	_1136
	dd	_1137
	dd	12
	dd	3
	dd	_1138
	dd	_641
	dd	16
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_1073
	dd	_1139
	dd	48
	dd	6
	dd	_841
	dd	_533
	dd	52
	dd	6
	dd	_1125
	dd	_533
	dd	56
	dd	6
	dd	_838
	dd	_856
	dd	60
	dd	6
	dd	_1140
	dd	_1141
	dd	64
	dd	6
	dd	_845
	dd	_846
	dd	68
	dd	6
	dd	_1142
	dd	_1143
	dd	72
	dd	6
	dd	_1144
	dd	_533
	dd	76
	dd	6
	dd	_1131
	dd	_533
	dd	80
	dd	6
	dd	_1145
	dd	_1146
	dd	84
	dd	6
	dd	_888
	dd	_533
	dd	88
	dd	6
	dd	_1147
	dd	_1148
	dd	92
	dd	6
	dd	_1149
	dd	_1148
	dd	96
	dd	6
	dd	_1150
	dd	_1148
	dd	100
	dd	6
	dd	_1151
	dd	_1148
	dd	104
	dd	0
	align	4
_c3d_cal3d_CalSkeleton:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1134
	dd	17
	dd	__c3d_cal3d_CalSkeleton_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalSkeleton_FromCore
	dd	__c3d_cal3d_CalSkeleton_calculateState
	dd	__c3d_cal3d_CalSkeleton_clearState
	dd	__c3d_cal3d_CalSkeleton_Create
	dd	__c3d_cal3d_CalSkeleton_getBone
	dd	__c3d_cal3d_CalSkeleton_getCoreSkeleton
	dd	__c3d_cal3d_CalSkeleton_getVectorBone
	dd	__c3d_cal3d_CalSkeleton_getBoneCount
	dd	__c3d_cal3d_CalSkeleton_lockState
	dd	__c3d_cal3d_CalSkeleton_getBoneBoundingBox
	dd	__c3d_cal3d_CalSkeleton_calculateBoundingBoxes
	dd	__c3d_cal3d_CalSkeleton_getBonePoints
	dd	__c3d_cal3d_CalSkeleton_getBonePointsStatic
	dd	__c3d_cal3d_CalSkeleton_getBoneLines
	dd	__c3d_cal3d_CalSkeleton_getBoneLinesStatic
_1153:
	db	"CalMinMax",0
_1154:
	db	"Minimum",0
_1155:
	db	"Maximum",0
	align	4
_1152:
	dd	2
	dd	_1153
	dd	3
	dd	_1154
	dd	_594
	dd	8
	dd	3
	dd	_1155
	dd	_594
	dd	12
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	0
	align	4
_c3d_cal3d_CalMinMax:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1152
	dd	16
	dd	__c3d_cal3d_CalMinMax_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_1157:
	db	"CalModel",0
_1158:
	db	"m_coreModel",0
_1159:
	db	":CalCoreModel",0
_1160:
	db	"m_mixer",0
_1161:
	db	":CalMixer",0
_1162:
	db	"m_morphTargetMixer",0
_1163:
	db	":CalMorphTargetMixer",0
_1164:
	db	"m_physique",0
_1165:
	db	":CalPhysique",0
_1166:
	db	"m_springSystem",0
_1167:
	db	":CalSpringSystem",0
_1168:
	db	"m_renderer",0
_1169:
	db	":CalRenderer",0
_1170:
	db	"m_vectorMesh",0
_1171:
	db	"[]:CalMesh",0
_1172:
	db	"(:CalCoreModel):CalModel",0
_1173:
	db	"attachMesh",0
_1174:
	db	"detachMesh",0
_1175:
	db	"getCoreModel",0
_1176:
	db	"():CalCoreModel",0
_1177:
	db	"getMesh",0
_1178:
	db	"(i):CalMesh",0
_1179:
	db	"getMixer",0
_1180:
	db	"():CalMixer",0
_1181:
	db	"getAbstractMixer",0
_1182:
	db	"():CalAbstractMixer",0
_1183:
	db	"setAbstractMixer",0
_1184:
	db	"(:CalAbstractMixer)i",0
_1185:
	db	"getMorphTargetMixer",0
_1186:
	db	"():CalMorphTargetMixer",0
_1187:
	db	"getPhysique",0
_1188:
	db	"():CalPhysique",0
_1189:
	db	"getRenderer",0
_1190:
	db	"():CalRenderer",0
_1191:
	db	"getSkeleton",0
_1192:
	db	"():CalSkeleton",0
_1193:
	db	"getSpringSystem",0
_1194:
	db	"():CalSpringSystem",0
_1195:
	db	"(b):CalBoundingBox",0
_1196:
	db	"getVectorMesh",0
_1197:
	db	"()[]:CalMesh",0
_1198:
	db	"update",0
	align	4
_1156:
	dd	2
	dd	_1157
	dd	3
	dd	_1158
	dd	_1159
	dd	8
	dd	3
	dd	_1116
	dd	_1117
	dd	12
	dd	3
	dd	_1160
	dd	_1161
	dd	16
	dd	3
	dd	_1162
	dd	_1163
	dd	20
	dd	3
	dd	_1164
	dd	_1165
	dd	24
	dd	3
	dd	_1166
	dd	_1167
	dd	28
	dd	3
	dd	_1168
	dd	_1169
	dd	32
	dd	3
	dd	_691
	dd	_680
	dd	36
	dd	3
	dd	_1170
	dd	_1171
	dd	40
	dd	3
	dd	_833
	dd	_834
	dd	44
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_1073
	dd	_1172
	dd	48
	dd	6
	dd	_1173
	dd	_676
	dd	52
	dd	6
	dd	_1174
	dd	_676
	dd	56
	dd	6
	dd	_1175
	dd	_1176
	dd	60
	dd	6
	dd	_1177
	dd	_1178
	dd	64
	dd	6
	dd	_1179
	dd	_1180
	dd	68
	dd	6
	dd	_1181
	dd	_1182
	dd	72
	dd	6
	dd	_1183
	dd	_1184
	dd	76
	dd	6
	dd	_1185
	dd	_1186
	dd	80
	dd	6
	dd	_1187
	dd	_1188
	dd	84
	dd	6
	dd	_1189
	dd	_1190
	dd	88
	dd	6
	dd	_1191
	dd	_1192
	dd	92
	dd	6
	dd	_1193
	dd	_1194
	dd	96
	dd	6
	dd	_864
	dd	_1195
	dd	100
	dd	6
	dd	_703
	dd	_704
	dd	104
	dd	6
	dd	_1196
	dd	_1197
	dd	108
	dd	6
	dd	_1082
	dd	_719
	dd	112
	dd	6
	dd	_1109
	dd	_783
	dd	116
	dd	6
	dd	_724
	dd	_725
	dd	120
	dd	6
	dd	_1198
	dd	_719
	dd	124
	dd	6
	dd	_1081
	dd	_533
	dd	128
	dd	0
	align	4
_c3d_cal3d_CalModel:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1156
	dd	48
	dd	__c3d_cal3d_CalModel_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalModel_FromCore
	dd	__c3d_cal3d_CalModel_attachMesh
	dd	__c3d_cal3d_CalModel_detachMesh
	dd	__c3d_cal3d_CalModel_getCoreModel
	dd	__c3d_cal3d_CalModel_getMesh
	dd	__c3d_cal3d_CalModel_getMixer
	dd	__c3d_cal3d_CalModel_getAbstractMixer
	dd	__c3d_cal3d_CalModel_setAbstractMixer
	dd	__c3d_cal3d_CalModel_getMorphTargetMixer
	dd	__c3d_cal3d_CalModel_getPhysique
	dd	__c3d_cal3d_CalModel_getRenderer
	dd	__c3d_cal3d_CalModel_getSkeleton
	dd	__c3d_cal3d_CalModel_getSpringSystem
	dd	__c3d_cal3d_CalModel_getBoundingBox
	dd	__c3d_cal3d_CalModel_getUserData
	dd	__c3d_cal3d_CalModel_getVectorMesh
	dd	__c3d_cal3d_CalModel_setLodLevel
	dd	__c3d_cal3d_CalModel_setMaterialSet
	dd	__c3d_cal3d_CalModel_setUserData
	dd	__c3d_cal3d_CalModel_update
	dd	__c3d_cal3d_CalModel_disableInternalData
_1200:
	db	"CalAnimation",0
_1201:
	db	"m_coreAnimation",0
_1202:
	db	":CalCoreAnimation",0
_1203:
	db	"m_lastCallbackTimes",0
_1204:
	db	"m_type",0
_1205:
	db	"m_state",0
_1206:
	db	"m_timeFactor",0
_1207:
	db	"(:CalCoreAnimation):CalAnimation",0
_1208:
	db	"():CalCoreAnimation",0
_1209:
	db	"getType",0
_1210:
	db	"setTimeFactor",0
_1211:
	db	"getTimeFactor",0
_1212:
	db	"checkCallbacks",0
_1213:
	db	"(f,:CalModel)i",0
_1214:
	db	"completeCallbacks",0
_1215:
	db	"setType",0
_1216:
	db	"setState",0
	align	4
_1199:
	dd	2
	dd	_1200
	dd	3
	dd	_1201
	dd	_1202
	dd	8
	dd	3
	dd	_1203
	dd	_1067
	dd	12
	dd	3
	dd	_1204
	dd	_601
	dd	16
	dd	3
	dd	_1205
	dd	_601
	dd	20
	dd	3
	dd	_993
	dd	_523
	dd	24
	dd	3
	dd	_1206
	dd	_523
	dd	28
	dd	3
	dd	_1032
	dd	_523
	dd	32
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_1073
	dd	_1207
	dd	48
	dd	6
	dd	_908
	dd	_1208
	dd	52
	dd	6
	dd	_1003
	dd	_533
	dd	56
	dd	6
	dd	_996
	dd	_544
	dd	60
	dd	6
	dd	_1209
	dd	_533
	dd	64
	dd	6
	dd	_1033
	dd	_544
	dd	68
	dd	6
	dd	_997
	dd	_719
	dd	72
	dd	6
	dd	_1210
	dd	_719
	dd	76
	dd	6
	dd	_1211
	dd	_544
	dd	80
	dd	6
	dd	_1212
	dd	_1213
	dd	84
	dd	6
	dd	_1214
	dd	_1111
	dd	88
	dd	6
	dd	_1215
	dd	_783
	dd	92
	dd	6
	dd	_1216
	dd	_783
	dd	96
	dd	6
	dd	_1034
	dd	_719
	dd	100
	dd	0
	align	4
_c3d_cal3d_CalAnimation:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1199
	dd	36
	dd	__c3d_cal3d_CalAnimation_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalAnimation_FromCore
	dd	__c3d_cal3d_CalAnimation_getCoreAnimation
	dd	__c3d_cal3d_CalAnimation_getState
	dd	__c3d_cal3d_CalAnimation_getTime
	dd	__c3d_cal3d_CalAnimation_getType
	dd	__c3d_cal3d_CalAnimation_getWeight
	dd	__c3d_cal3d_CalAnimation_setTime
	dd	__c3d_cal3d_CalAnimation_setTimeFactor
	dd	__c3d_cal3d_CalAnimation_getTimeFactor
	dd	__c3d_cal3d_CalAnimation_checkCallbacks
	dd	__c3d_cal3d_CalAnimation_completeCallbacks
	dd	__c3d_cal3d_CalAnimation_setType
	dd	__c3d_cal3d_CalAnimation_setState
	dd	__c3d_cal3d_CalAnimation_setWeight
_1218:
	db	"CalAnimationCallback",0
_1219:
	db	"AnimationUpdate",0
_1220:
	db	"(f,:CalModel,:Object)i",0
_1221:
	db	"AnimationComplete",0
_1222:
	db	"(:CalModel,:Object)i",0
	align	4
_1217:
	dd	2
	dd	_1218
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	6
	dd	_1219
	dd	_1220
	dd	52
	dd	6
	dd	_1221
	dd	_1222
	dd	56
	dd	0
	align	4
_c3d_cal3d_CalAnimationCallback:
	dd	_c3d_cal3d_CalCallbackRecord
	dd	_bbObjectFree
	dd	_1217
	dd	16
	dd	__c3d_cal3d_CalAnimationCallback_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalCallbackRecord_FromCallback
	dd	__c3d_cal3d_CalAnimationCallback_AnimationUpdate
	dd	__c3d_cal3d_CalAnimationCallback_AnimationComplete
_1224:
	db	"CalAnimationAction",0
_1225:
	db	"m_delayIn",0
_1226:
	db	"m_delayOut",0
_1227:
	db	"m_delayTarget",0
_1228:
	db	"m_weightTarget",0
_1229:
	db	"m_autoLock",0
_1230:
	db	"BuildFromCore",0
_1231:
	db	"(:CalCoreAnimation):CalAnimationAction",0
_1232:
	db	"execute",0
_1233:
	db	"(f,f,f,b)b",0
_1234:
	db	"(f)b",0
	align	4
_1223:
	dd	2
	dd	_1224
	dd	3
	dd	_1225
	dd	_523
	dd	36
	dd	3
	dd	_1226
	dd	_523
	dd	40
	dd	3
	dd	_1227
	dd	_523
	dd	44
	dd	3
	dd	_1228
	dd	_523
	dd	48
	dd	3
	dd	_1229
	dd	_641
	dd	52
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_1230
	dd	_1231
	dd	104
	dd	6
	dd	_1232
	dd	_1233
	dd	108
	dd	6
	dd	_1198
	dd	_1234
	dd	112
	dd	0
	align	4
_c3d_cal3d_CalAnimationAction:
	dd	_c3d_cal3d_CalAnimation
	dd	_bbObjectFree
	dd	_1223
	dd	53
	dd	__c3d_cal3d_CalAnimationAction_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalAnimation_FromCore
	dd	__c3d_cal3d_CalAnimation_getCoreAnimation
	dd	__c3d_cal3d_CalAnimation_getState
	dd	__c3d_cal3d_CalAnimation_getTime
	dd	__c3d_cal3d_CalAnimation_getType
	dd	__c3d_cal3d_CalAnimation_getWeight
	dd	__c3d_cal3d_CalAnimation_setTime
	dd	__c3d_cal3d_CalAnimation_setTimeFactor
	dd	__c3d_cal3d_CalAnimation_getTimeFactor
	dd	__c3d_cal3d_CalAnimation_checkCallbacks
	dd	__c3d_cal3d_CalAnimation_completeCallbacks
	dd	__c3d_cal3d_CalAnimation_setType
	dd	__c3d_cal3d_CalAnimation_setState
	dd	__c3d_cal3d_CalAnimation_setWeight
	dd	__c3d_cal3d_CalAnimationAction_BuildFromCore
	dd	__c3d_cal3d_CalAnimationAction_execute
	dd	__c3d_cal3d_CalAnimationAction_update
_1236:
	db	"CalAnimationCycle",0
_1237:
	db	"m_targetDelay",0
_1238:
	db	"m_targetWeight",0
_1239:
	db	"(:CalCoreAnimation):CalAnimationCycle",0
_1240:
	db	"setAsync",0
_1241:
	db	"(f,f)i",0
	align	4
_1235:
	dd	2
	dd	_1236
	dd	3
	dd	_1237
	dd	_523
	dd	36
	dd	3
	dd	_1238
	dd	_523
	dd	40
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_1230
	dd	_1239
	dd	104
	dd	6
	dd	_541
	dd	_1022
	dd	108
	dd	6
	dd	_1240
	dd	_1241
	dd	112
	dd	6
	dd	_1198
	dd	_1234
	dd	116
	dd	0
	align	4
_c3d_cal3d_CalAnimationCycle:
	dd	_c3d_cal3d_CalAnimation
	dd	_bbObjectFree
	dd	_1235
	dd	44
	dd	__c3d_cal3d_CalAnimationCycle_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalAnimation_FromCore
	dd	__c3d_cal3d_CalAnimation_getCoreAnimation
	dd	__c3d_cal3d_CalAnimation_getState
	dd	__c3d_cal3d_CalAnimation_getTime
	dd	__c3d_cal3d_CalAnimation_getType
	dd	__c3d_cal3d_CalAnimation_getWeight
	dd	__c3d_cal3d_CalAnimation_setTime
	dd	__c3d_cal3d_CalAnimation_setTimeFactor
	dd	__c3d_cal3d_CalAnimation_getTimeFactor
	dd	__c3d_cal3d_CalAnimation_checkCallbacks
	dd	__c3d_cal3d_CalAnimation_completeCallbacks
	dd	__c3d_cal3d_CalAnimation_setType
	dd	__c3d_cal3d_CalAnimation_setState
	dd	__c3d_cal3d_CalAnimation_setWeight
	dd	__c3d_cal3d_CalAnimationCycle_BuildFromCore
	dd	__c3d_cal3d_CalAnimationCycle_blend
	dd	__c3d_cal3d_CalAnimationCycle_setAsync
	dd	__c3d_cal3d_CalAnimationCycle_update
_1243:
	db	"CalAnimationType",0
_1244:
	db	"TYPE_NONE",0
	align	4
_1245:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	48
_1246:
	db	"TYPE_CYCLE",0
	align	4
_1247:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	49
_1248:
	db	"TYPE_POSE",0
	align	4
_1249:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	50
_1250:
	db	"TYPE_ACTION",0
	align	4
_1251:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	51
	align	4
_1242:
	dd	2
	dd	_1243
	dd	1
	dd	_1244
	dd	_601
	dd	_1245
	dd	1
	dd	_1246
	dd	_601
	dd	_1247
	dd	1
	dd	_1248
	dd	_601
	dd	_1249
	dd	1
	dd	_1250
	dd	_601
	dd	_1251
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	0
	align	4
_c3d_cal3d_CalAnimationType:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1242
	dd	8
	dd	__c3d_cal3d_CalAnimationType_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_1253:
	db	"CalAnimationState",0
_1254:
	db	"STATE_NONE",0
_1255:
	db	"STATE_SYNC",0
_1256:
	db	"STATE_ASYNC",0
_1257:
	db	"STATE_IN",0
_1258:
	db	"STATE_STEADY",0
	align	4
_1259:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	52
_1260:
	db	"STATE_OUT",0
	align	4
_1261:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	53
_1262:
	db	"STATE_STOPPED",0
	align	4
_1263:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	54
	align	4
_1252:
	dd	2
	dd	_1253
	dd	1
	dd	_1254
	dd	_601
	dd	_1245
	dd	1
	dd	_1255
	dd	_601
	dd	_1247
	dd	1
	dd	_1256
	dd	_601
	dd	_1249
	dd	1
	dd	_1257
	dd	_601
	dd	_1251
	dd	1
	dd	_1258
	dd	_601
	dd	_1259
	dd	1
	dd	_1260
	dd	_601
	dd	_1261
	dd	1
	dd	_1262
	dd	_601
	dd	_1263
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	0
	align	4
_c3d_cal3d_CalAnimationState:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1252
	dd	8
	dd	__c3d_cal3d_CalAnimationState_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_1265:
	db	"CalAbstractMixer",0
_1266:
	db	"isDefaultMixer",0
_1267:
	db	"updateAnimation",0
_1268:
	db	"updateSkeleton",0
	align	4
_1264:
	dd	2
	dd	_1265
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	6
	dd	_1266
	dd	_869
	dd	48
	dd	6
	dd	_1267
	dd	_719
	dd	52
	dd	6
	dd	_1268
	dd	_533
	dd	56
	dd	0
	align	4
_c3d_cal3d_CalAbstractMixer:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1264
	dd	8
	dd	__c3d_cal3d_CalAbstractMixer_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalAbstractMixer_isDefaultMixer
	dd	__c3d_cal3d_CalAbstractMixer_updateAnimation
	dd	__c3d_cal3d_CalAbstractMixer_updateSkeleton
_1270:
	db	"CalMixer",0
_1271:
	db	"m_vectorAnimation",0
_1272:
	db	"[]:CalAnimation",0
_1273:
	db	"m_listAnimationAction",0
_1274:
	db	"[]:CalAnimationAction",0
_1275:
	db	"m_listAnimationCycle",0
_1276:
	db	"[]:CalAnimationCycle",0
_1277:
	db	"m_animationTime",0
_1278:
	db	"m_animationDuration",0
_1279:
	db	"FromModel",0
_1280:
	db	"(:CalModel):CalMixer",0
_1281:
	db	"blendCycle",0
_1282:
	db	"(i,f,f)b",0
_1283:
	db	"clearCycle",0
_1284:
	db	"(i,f)b",0
_1285:
	db	"executeAction",0
_1286:
	db	"(i,f,f,f,b)b",0
_1287:
	db	"removeAction",0
_1288:
	db	"getAnimationTime",0
_1289:
	db	"getAnimationDuration",0
_1290:
	db	"setAnimationTime",0
_1291:
	db	"getCalModel",0
_1292:
	db	"getAnimationVector",0
_1293:
	db	"()[]:CalAnimation",0
_1294:
	db	"getAnimationActionList",0
_1295:
	db	"()[]:CalAnimationAction",0
_1296:
	db	"getAnimationCycle",0
_1297:
	db	"()[]:CalAnimationCycle",0
	align	4
_1269:
	dd	2
	dd	_1270
	dd	3
	dd	_1096
	dd	_1097
	dd	8
	dd	3
	dd	_1271
	dd	_1272
	dd	12
	dd	3
	dd	_1273
	dd	_1274
	dd	16
	dd	3
	dd	_1275
	dd	_1276
	dd	20
	dd	3
	dd	_1277
	dd	_523
	dd	24
	dd	3
	dd	_1278
	dd	_523
	dd	28
	dd	3
	dd	_1206
	dd	_523
	dd	32
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_1279
	dd	_1280
	dd	60
	dd	6
	dd	_1266
	dd	_869
	dd	48
	dd	6
	dd	_1281
	dd	_1282
	dd	64
	dd	6
	dd	_1283
	dd	_1284
	dd	68
	dd	6
	dd	_1285
	dd	_1286
	dd	72
	dd	6
	dd	_1287
	dd	_676
	dd	76
	dd	6
	dd	_1267
	dd	_719
	dd	52
	dd	6
	dd	_1268
	dd	_533
	dd	56
	dd	6
	dd	_1288
	dd	_544
	dd	80
	dd	6
	dd	_1289
	dd	_544
	dd	84
	dd	6
	dd	_1290
	dd	_719
	dd	88
	dd	6
	dd	_1210
	dd	_719
	dd	92
	dd	6
	dd	_1211
	dd	_544
	dd	96
	dd	6
	dd	_1291
	dd	_956
	dd	100
	dd	6
	dd	_1292
	dd	_1293
	dd	104
	dd	6
	dd	_1294
	dd	_1295
	dd	108
	dd	6
	dd	_1296
	dd	_1297
	dd	112
	dd	0
	align	4
_c3d_cal3d_CalMixer:
	dd	_c3d_cal3d_CalAbstractMixer
	dd	_bbObjectFree
	dd	_1269
	dd	36
	dd	__c3d_cal3d_CalMixer_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalMixer_isDefaultMixer
	dd	__c3d_cal3d_CalMixer_updateAnimation
	dd	__c3d_cal3d_CalMixer_updateSkeleton
	dd	__c3d_cal3d_CalMixer_FromModel
	dd	__c3d_cal3d_CalMixer_blendCycle
	dd	__c3d_cal3d_CalMixer_clearCycle
	dd	__c3d_cal3d_CalMixer_executeAction
	dd	__c3d_cal3d_CalMixer_removeAction
	dd	__c3d_cal3d_CalMixer_getAnimationTime
	dd	__c3d_cal3d_CalMixer_getAnimationDuration
	dd	__c3d_cal3d_CalMixer_setAnimationTime
	dd	__c3d_cal3d_CalMixer_setTimeFactor
	dd	__c3d_cal3d_CalMixer_getTimeFactor
	dd	__c3d_cal3d_CalMixer_getCalModel
	dd	__c3d_cal3d_CalMixer_getAnimationVector
	dd	__c3d_cal3d_CalMixer_getAnimationActionList
	dd	__c3d_cal3d_CalMixer_getAnimationCycle
_1299:
	db	"CalMorphTargetMixer",0
_1300:
	db	"m_vectorCurrentWeight",0
_1301:
	db	"m_vectorEndWeight",0
_1302:
	db	"m_vectorDuration",0
_1303:
	db	"mPlayTime",0
_1304:
	db	"mDuration",0
_1305:
	db	"mPlayedAnimatedMorphID",0
_1306:
	db	"(:CalModel):CalMorphTargetMixer",0
_1307:
	db	"getCurrentWeight",0
_1308:
	db	"getCurrentWeightBase",0
_1309:
	db	"getMorphTargetCount",0
_1310:
	db	"SetTrackWeights",0
_1311:
	db	"(:CalCoreAnimatedMorph,f)i",0
_1312:
	db	"CalcKeyframeWeight",0
_1313:
	db	"([]:CalCoreMorphKeyframe,f)f",0
_1314:
	db	"Lerp",0
_1315:
	db	"(f,f,f)f",0
_1316:
	db	"MapRangeValue",0
_1317:
	db	"(f,f,f,f,f)f",0
_1318:
	db	"CalcNormal",0
_1319:
	db	"ApplyWeightToMorphMesh",0
	align	4
_1298:
	dd	2
	dd	_1299
	dd	3
	dd	_1096
	dd	_1097
	dd	8
	dd	3
	dd	_1300
	dd	_1067
	dd	12
	dd	3
	dd	_1301
	dd	_1067
	dd	16
	dd	3
	dd	_1302
	dd	_1067
	dd	20
	dd	3
	dd	_1303
	dd	_523
	dd	24
	dd	3
	dd	_1304
	dd	_523
	dd	28
	dd	3
	dd	_1305
	dd	_601
	dd	32
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_1279
	dd	_1306
	dd	48
	dd	6
	dd	_541
	dd	_1282
	dd	52
	dd	6
	dd	_561
	dd	_1284
	dd	56
	dd	6
	dd	_1307
	dd	_1089
	dd	60
	dd	6
	dd	_1308
	dd	_544
	dd	64
	dd	6
	dd	_1309
	dd	_533
	dd	68
	dd	6
	dd	_1198
	dd	_719
	dd	72
	dd	6
	dd	_1310
	dd	_1311
	dd	76
	dd	6
	dd	_1312
	dd	_1313
	dd	80
	dd	6
	dd	_1314
	dd	_1315
	dd	84
	dd	6
	dd	_1316
	dd	_1317
	dd	88
	dd	6
	dd	_1318
	dd	_1315
	dd	92
	dd	6
	dd	_1319
	dd	_1087
	dd	96
	dd	0
	align	4
_c3d_cal3d_CalMorphTargetMixer:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1298
	dd	36
	dd	__c3d_cal3d_CalMorphTargetMixer_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalMorphTargetMixer_FromModel
	dd	__c3d_cal3d_CalMorphTargetMixer_blend
	dd	__c3d_cal3d_CalMorphTargetMixer_clear
	dd	__c3d_cal3d_CalMorphTargetMixer_getCurrentWeight
	dd	__c3d_cal3d_CalMorphTargetMixer_getCurrentWeightBase
	dd	__c3d_cal3d_CalMorphTargetMixer_getMorphTargetCount
	dd	__c3d_cal3d_CalMorphTargetMixer_update
	dd	__c3d_cal3d_CalMorphTargetMixer_SetTrackWeights
	dd	__c3d_cal3d_CalMorphTargetMixer_CalcKeyframeWeight
	dd	__c3d_cal3d_CalMorphTargetMixer_Lerp
	dd	__c3d_cal3d_CalMorphTargetMixer_MapRangeValue
	dd	__c3d_cal3d_CalMorphTargetMixer_CalcNormal
	dd	__c3d_cal3d_CalMorphTargetMixer_ApplyWeightToMorphMesh
_1321:
	db	"CalPhysique",0
_1322:
	db	"m_normalize",0
_1323:
	db	"m_axisFactorX",0
_1324:
	db	"m_axisFactorY",0
_1325:
	db	"m_axisFactorZ",0
_1326:
	db	"(:CalModel):CalPhysique",0
_1327:
	db	"calculateTangentSpaces",0
_1328:
	db	"(:CalSubmesh,i,[]f,i)i",0
_1329:
	db	"calculateNormals",0
_1330:
	db	"(:CalSubmesh,[]f,i)i",0
_1331:
	db	"calculateVertices",0
_1332:
	db	"calculateVertex",0
_1333:
	db	"(:CalSubmesh,i):CalVector",0
_1334:
	db	"calculateVerticesAndNormals",0
_1335:
	db	"calculateVerticesNormalsAndTexCoords",0
_1336:
	db	"setNormalization",0
_1337:
	db	"(b)i",0
_1338:
	db	"setAxisFactorX",0
_1339:
	db	"setAxisFactorY",0
_1340:
	db	"setAxisFactorZ",0
_1341:
	db	"calculateVerticesAndNormalsInternal",0
_1342:
	db	"(:CalSubmesh,[]:CalVector,[]:CalVector)i",0
_1343:
	db	"calculateTangentSpacesInternal",0
_1344:
	db	"(:CalSubmesh,i,[]:CalTangentSpace)i",0
	align	4
_1320:
	dd	2
	dd	_1321
	dd	3
	dd	_1096
	dd	_1097
	dd	8
	dd	3
	dd	_1322
	dd	_641
	dd	12
	dd	3
	dd	_1323
	dd	_523
	dd	16
	dd	3
	dd	_1324
	dd	_523
	dd	20
	dd	3
	dd	_1325
	dd	_523
	dd	24
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_1279
	dd	_1326
	dd	48
	dd	6
	dd	_1327
	dd	_1328
	dd	52
	dd	6
	dd	_1329
	dd	_1330
	dd	56
	dd	6
	dd	_1331
	dd	_1330
	dd	60
	dd	6
	dd	_1332
	dd	_1333
	dd	64
	dd	6
	dd	_1334
	dd	_1330
	dd	68
	dd	6
	dd	_1335
	dd	_1330
	dd	72
	dd	6
	dd	_1198
	dd	_533
	dd	76
	dd	6
	dd	_1336
	dd	_1337
	dd	80
	dd	6
	dd	_1338
	dd	_719
	dd	84
	dd	6
	dd	_1339
	dd	_719
	dd	88
	dd	6
	dd	_1340
	dd	_719
	dd	92
	dd	6
	dd	_1341
	dd	_1342
	dd	96
	dd	6
	dd	_1343
	dd	_1344
	dd	100
	dd	0
	align	4
_c3d_cal3d_CalPhysique:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1320
	dd	28
	dd	__c3d_cal3d_CalPhysique_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalPhysique_FromModel
	dd	__c3d_cal3d_CalPhysique_calculateTangentSpaces
	dd	__c3d_cal3d_CalPhysique_calculateNormals
	dd	__c3d_cal3d_CalPhysique_calculateVertices
	dd	__c3d_cal3d_CalPhysique_calculateVertex
	dd	__c3d_cal3d_CalPhysique_calculateVerticesAndNormals
	dd	__c3d_cal3d_CalPhysique_calculateVerticesNormalsAndTexCoords
	dd	__c3d_cal3d_CalPhysique_update
	dd	__c3d_cal3d_CalPhysique_setNormalization
	dd	__c3d_cal3d_CalPhysique_setAxisFactorX
	dd	__c3d_cal3d_CalPhysique_setAxisFactorY
	dd	__c3d_cal3d_CalPhysique_setAxisFactorZ
	dd	__c3d_cal3d_CalPhysique_calculateVerticesAndNormalsInternal
	dd	__c3d_cal3d_CalPhysique_calculateTangentSpacesInternal
_1346:
	db	"CalSpringSystem",0
_1347:
	db	"m_gravity",0
_1348:
	db	"m_force",0
_1349:
	db	"m_collision",0
_1350:
	db	"(:CalModel):CalSpringSystem",0
_1351:
	db	"calculateForces",0
_1352:
	db	"(:CalSubmesh,f)i",0
_1353:
	db	"getGravityVector",0
_1354:
	db	"setGravityVector",0
_1355:
	db	"getForceVector",0
_1356:
	db	"setForceVector",0
_1357:
	db	"setCollisionDetection",0
	align	4
_1345:
	dd	2
	dd	_1346
	dd	3
	dd	_1096
	dd	_1097
	dd	8
	dd	3
	dd	_1347
	dd	_594
	dd	12
	dd	3
	dd	_1348
	dd	_594
	dd	16
	dd	3
	dd	_1349
	dd	_641
	dd	20
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_1279
	dd	_1350
	dd	48
	dd	6
	dd	_1351
	dd	_1352
	dd	52
	dd	6
	dd	_1331
	dd	_1352
	dd	56
	dd	6
	dd	_1198
	dd	_719
	dd	60
	dd	6
	dd	_1353
	dd	_852
	dd	64
	dd	6
	dd	_1354
	dd	_573
	dd	68
	dd	6
	dd	_1355
	dd	_852
	dd	72
	dd	6
	dd	_1356
	dd	_573
	dd	76
	dd	6
	dd	_1357
	dd	_1337
	dd	80
	dd	0
	align	4
_c3d_cal3d_CalSpringSystem:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1345
	dd	21
	dd	__c3d_cal3d_CalSpringSystem_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalSpringSystem_FromModel
	dd	__c3d_cal3d_CalSpringSystem_calculateForces
	dd	__c3d_cal3d_CalSpringSystem_calculateVertices
	dd	__c3d_cal3d_CalSpringSystem_update
	dd	__c3d_cal3d_CalSpringSystem_getGravityVector
	dd	__c3d_cal3d_CalSpringSystem_setGravityVector
	dd	__c3d_cal3d_CalSpringSystem_getForceVector
	dd	__c3d_cal3d_CalSpringSystem_setForceVector
	dd	__c3d_cal3d_CalSpringSystem_setCollisionDetection
_1359:
	db	"CalRenderer",0
_1360:
	db	"m_selectedSubmesh",0
_1361:
	db	":CalSubmesh",0
_1362:
	db	"(:CalModel):CalRenderer",0
_1363:
	db	"FromRenderer",0
_1364:
	db	"(:CalRenderer):CalRenderer",0
_1365:
	db	"beginRendering",0
_1366:
	db	"endRendering",0
_1367:
	db	"getMeshCount",0
_1368:
	db	"getNormals",0
_1369:
	db	"([]f,i)i",0
_1370:
	db	"getTextureCoordinates",0
_1371:
	db	"(i,[]f,i)i",0
_1372:
	db	"getVertices",0
_1373:
	db	"getTangentSpaces",0
_1374:
	db	"getVerticesAndNormals",0
_1375:
	db	"getVerticesNormalsAndTexCoords",0
_1376:
	db	"selectMeshSubmesh",0
	align	4
_1358:
	dd	2
	dd	_1359
	dd	3
	dd	_1096
	dd	_1097
	dd	8
	dd	3
	dd	_1360
	dd	_1361
	dd	12
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_1279
	dd	_1362
	dd	48
	dd	7
	dd	_1363
	dd	_1364
	dd	52
	dd	6
	dd	_1365
	dd	_869
	dd	56
	dd	6
	dd	_1366
	dd	_533
	dd	60
	dd	6
	dd	_694
	dd	_1148
	dd	64
	dd	6
	dd	_696
	dd	_1148
	dd	68
	dd	6
	dd	_762
	dd	_533
	dd	72
	dd	6
	dd	_1076
	dd	_1077
	dd	76
	dd	6
	dd	_697
	dd	_533
	dd	80
	dd	6
	dd	_700
	dd	_677
	dd	84
	dd	6
	dd	_1367
	dd	_533
	dd	88
	dd	6
	dd	_1368
	dd	_1369
	dd	92
	dd	6
	dd	_701
	dd	_544
	dd	96
	dd	6
	dd	_702
	dd	_1148
	dd	100
	dd	6
	dd	_1106
	dd	_783
	dd	104
	dd	6
	dd	_1370
	dd	_1371
	dd	108
	dd	6
	dd	_777
	dd	_533
	dd	112
	dd	6
	dd	_1372
	dd	_1369
	dd	116
	dd	6
	dd	_1373
	dd	_1371
	dd	120
	dd	6
	dd	_1374
	dd	_1369
	dd	124
	dd	6
	dd	_1375
	dd	_1369
	dd	128
	dd	6
	dd	_778
	dd	_676
	dd	132
	dd	6
	dd	_1376
	dd	_1040
	dd	136
	dd	6
	dd	_1336
	dd	_1337
	dd	140
	dd	0
	align	4
_c3d_cal3d_CalRenderer:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1358
	dd	16
	dd	__c3d_cal3d_CalRenderer_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_CalRenderer_FromModel
	dd	__c3d_cal3d_CalRenderer_FromRenderer
	dd	__c3d_cal3d_CalRenderer_beginRendering
	dd	__c3d_cal3d_CalRenderer_endRendering
	dd	__c3d_cal3d_CalRenderer_getAmbientColor
	dd	__c3d_cal3d_CalRenderer_getDiffuseColor
	dd	__c3d_cal3d_CalRenderer_getFaceCount
	dd	__c3d_cal3d_CalRenderer_getFaces
	dd	__c3d_cal3d_CalRenderer_getMapCount
	dd	__c3d_cal3d_CalRenderer_getMapUserData
	dd	__c3d_cal3d_CalRenderer_getMeshCount
	dd	__c3d_cal3d_CalRenderer_getNormals
	dd	__c3d_cal3d_CalRenderer_getShininess
	dd	__c3d_cal3d_CalRenderer_getSpecularColor
	dd	__c3d_cal3d_CalRenderer_getSubmeshCount
	dd	__c3d_cal3d_CalRenderer_getTextureCoordinates
	dd	__c3d_cal3d_CalRenderer_getVertexCount
	dd	__c3d_cal3d_CalRenderer_getVertices
	dd	__c3d_cal3d_CalRenderer_getTangentSpaces
	dd	__c3d_cal3d_CalRenderer_getVerticesAndNormals
	dd	__c3d_cal3d_CalRenderer_getVerticesNormalsAndTexCoords
	dd	__c3d_cal3d_CalRenderer_isTangentsEnabled
	dd	__c3d_cal3d_CalRenderer_selectMeshSubmesh
	dd	__c3d_cal3d_CalRenderer_setNormalization
_1378:
	db	"DeltaTimer",0
_1379:
	db	"targetfps",0
_1380:
	db	"currentticks",0
_1381:
	db	"rtime",0
_1382:
	db	"lastticks",0
_1383:
	db	"frametime",0
_1384:
	db	"delta",0
_1385:
	db	"frames",0
_1386:
	db	"actualFPS",0
_1387:
	db	"CreateDelta",0
_1388:
	db	"(i):DeltaTimer",0
_1389:
	db	"UpdateDelta",0
	align	4
_1377:
	dd	2
	dd	_1378
	dd	3
	dd	_1379
	dd	_601
	dd	8
	dd	3
	dd	_1380
	dd	_601
	dd	12
	dd	3
	dd	_1381
	dd	_601
	dd	16
	dd	3
	dd	_1382
	dd	_601
	dd	20
	dd	3
	dd	_1383
	dd	_601
	dd	24
	dd	3
	dd	_1384
	dd	_523
	dd	28
	dd	3
	dd	_1385
	dd	_601
	dd	32
	dd	3
	dd	_1386
	dd	_601
	dd	36
	dd	6
	dd	_532
	dd	_533
	dd	16
	dd	7
	dd	_1387
	dd	_1388
	dd	48
	dd	6
	dd	_1389
	dd	_533
	dd	52
	dd	0
	align	4
_c3d_cal3d_DeltaTimer:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1377
	dd	40
	dd	__c3d_cal3d_DeltaTimer_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_cal3d_DeltaTimer_CreateDelta
	dd	__c3d_cal3d_DeltaTimer_UpdateDelta
	align	4
_3389:
	dd	0
	align	4
_c3d_cal3d_Delta:
	dd	_bbNullObject
	align	4
_5848:
	dd	0x40000000
	align	4
_5849:
	dd	0x40000000
	align	4
_5850:
	dd	0x40000000
	align	4
_5851:
	dd	0x40000000
	align	4
_5852:
	dd	0x40000000
	align	4
_5853:
	dd	0x40000000
	align	4
_5854:
	dd	0x40000000
	align	4
_5855:
	dd	0x40000000
	align	4
_5856:
	dd	0x40000000
	align	4
_5857:
	dd	0x3f800000
	align	4
_5858:
	dd	0x3f800000
	align	4
_5859:
	dd	0x3f800000
	align	4
_5919:
	dd	0x3f800000
	align	4
_5920:
	dd	0x358637bd
	align	4
_5921:
	dd	0x3f800000
	align	4
_5922:
	dd	0x3f800000
	align	4
_5934:
	dd	0x3f800000
	align	4
_5942:
	dd	0x40000000
	align	4
_5943:
	dd	0x3f800000
	align	4
_5944:
	dd	0x40000000
_3468:
	db	":CalInfluence",0
_3472:
	db	":CalInfluence",0
_3474:
	db	":CalInfluence",0
_3475:
	db	"i",0
_3479:
	db	"i",0
	align	4
_6093:
	dd	0xf49dc5ae
_3482:
	db	":CalPlane",0
_3488:
	db	":CalVector",0
_3518:
	db	":StringNode",0
	align	4
_16:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	77,97,112,115,105,122,101,58,32
	align	4
_23:
	dd	_bbStringClass
	dd	2147483647
	dd	0
_3541:
	db	":IntNode",0
_3558:
	db	":CalMap",0
_3571:
	db	":CalMap",0
_3589:
	db	":CalTangentSpace",0
_3590:
	db	":CalTangentSpace",0
_3603:
	db	":CalVertex",0
_3604:
	db	"b",0
_3605:
	db	"[]:CalTangentSpace",0
_3606:
	db	"[]:CalTextureCoordinate",0
_3610:
	db	":CalTextureCoordinate",0
_3612:
	db	":CalTangentSpace",0
_3614:
	db	":CalFace",0
_3615:
	db	":CalSpring",0
_3617:
	db	":CalPhysicalProperty",0
_3647:
	db	":CalCoreSubMorphTarget",0
	align	4
_51:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	73,110,118,97,108,105,100,32,83,117,98,109,111,114,112,104
	dw	32,73,68,32
	align	4
_6347:
	dd	0x3f800000
	align	4
_6348:
	dd	0x3dcccccd
_3657:
	db	":CalSpring",0
_3658:
	db	":CalPhysicalProperty",0
	align	4
_6362:
	dd	0x358637bd
	align	4
_6363:
	dd	0x358637bd
_3683:
	db	":CalCoreSubmesh",0
	align	4
_55:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	73,110,118,97,108,105,100,32,83,117,98,109,101,115,104,32
	dw	72,97,110,100,108,101
	align	4
_56:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	77,111,114,112,104,32,77,101,115,104,32,77,105,115,109,97
	dw	116,99,104
	align	4
_57:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	69,109,112,116,121,32,83,117,98,109,101,115,104,101,115
	align	4
_61:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	86,101,114,116,105,99,101,32,77,105,115,109,97,116,99,104
	align	4
_71:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	98,111,110,101
_3719:
	db	"i",0
_3720:
	db	":CalVector",0
	align	4
_6462:
	dd	0x3f000000
_3819:
	db	":CalCoreBone",0
_3820:
	db	"i",0
	align	4
_100:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	66,111,110,101,115,105,122,101,58,32
	align	4
_104:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	73,110,118,97,108,105,100,32,66,111,110,101,32,73,68,58
	dw	32
_3857:
	db	":CalCoreAnimation",0
_3858:
	db	":CalCoreMorphAnimation",0
_3859:
	db	":CalCoreAnimatedMorph",0
_3860:
	db	":CalCoreMesh",0
_3861:
	db	":CalCoreMaterial",0
	align	4
_118:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	73,110,118,97,108,105,100,32,65,110,105,109,97,116,105,111
	dw	110,32,73,68
	align	4
_119:
	dd	_bbStringClass
	dd	2147483647
	dd	32
	dw	78,111,116,32,73,109,112,108,101,109,101,110,116,101,100,33
	dw	32,117,115,101,32,76,111,97,100,101,114,32,84,121,112,101
	align	4
_120:
	dd	_bbStringClass
	dd	2147483647
	dd	31
	dw	78,111,116,32,73,109,112,108,101,109,101,110,116,101,100,33
	dw	32,117,115,101,32,83,97,118,101,114,32,84,121,112,101
_3893:
	db	":CalCoreMorphAnimation",0
_3899:
	db	":CalCoreAnimatedMorph",0
	align	4
_124:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	73,110,118,97,108,105,100,32,77,111,114,112,104,32,73,68
_3914:
	db	":CalCoreMaterial",0
	align	4
_125:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	73,110,118,97,108,105,100,32,77,97,116,101,114,105,97,108
	dw	32,73,68
	align	4
_126:
	dd	_bbStringClass
	dd	2147483647
	dd	31
	dw	78,111,116,32,105,109,112,108,109,101,110,116,101,100,32,117
	dw	115,101,32,76,111,97,100,101,114,32,84,121,112,101,33
	align	4
_127:
	dd	_bbStringClass
	dd	2147483647
	dd	32
	dw	78,111,116,32,73,109,112,108,101,109,101,110,116,101,100,44
	dw	32,85,115,101,32,83,97,118,101,114,32,84,121,112,101,33
	align	4
_128:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	73,110,118,97,108,105,100,32,77,101,115,104,32,73,68
	align	4
_129:
	dd	_bbStringClass
	dd	2147483647
	dd	39
	dw	78,111,116,32,73,109,112,108,101,109,101,110,116,101,100,44
	dw	32,112,108,101,97,115,101,32,117,115,101,32,76,111,97,100
	dw	101,114,32,84,121,112,101
	align	4
_130:
	dd	_bbStringClass
	dd	2147483647
	dd	31
	dw	78,111,116,32,73,109,112,108,101,109,101,110,116,101,100,44
	dw	32,85,115,101,32,83,97,118,101,114,32,84,121,112,101
	align	4
_131:
	dd	_bbStringClass
	dd	2147483647
	dd	31
	dw	78,111,116,32,73,109,112,108,101,109,101,110,116,101,100,32
	dw	117,115,101,32,76,111,97,100,101,114,32,84,121,112,101
	align	4
_132:
	dd	_bbStringClass
	dd	2147483647
	dd	30
	dw	78,111,116,32,73,109,112,108,101,109,101,110,116,101,100,32
	dw	117,115,101,32,83,97,118,101,114,32,84,121,112,101
	align	4
_133:
	dd	_bbStringClass
	dd	2147483647
	dd	25
	dw	67,97,110,110,111,116,32,115,101,116,32,78,85,76,76,32
	dw	83,107,101,108,101,116,111,110,33
_3980:
	db	":CalCallbackRecord",0
_3981:
	db	":CalCoreTrack",0
	align	4
_134:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	65,110,105,109,97,116,105,111,110
_3983:
	db	":CalCoreTrack",0
_3996:
	db	":CalCallbackRecord",0
_3997:
	db	":CalCallbackRecord",0
_4014:
	db	":CalCoreKeyframe",0
_4015:
	db	":CalCoreKeyframe",0
_4044:
	db	":CalCoreKeyframe",0
_4051:
	db	":CalCoreKeyframe",0
	align	4
_159:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	109,111,114,112,104
_4069:
	db	":CalCoreMorphKeyframe",0
_4107:
	db	"i",0
_4108:
	db	"i",0
_4109:
	db	":CalCoreMorphTrack",0
_4125:
	db	":CalCoreMorphTrack",0
_4141:
	db	":CalBlendVertex",0
_4143:
	db	":CalBlendVertex",0
_4147:
	db	"f",0
_4148:
	db	":CalVector",0
_4149:
	db	":CalVector",0
_4150:
	db	":CalFace",0
_4151:
	db	":CalPhysicalProperty",0
_4153:
	db	"f",0
_4155:
	db	":CalVector",0
_4156:
	db	":CalVector",0
_4157:
	db	":CalFace",0
_4159:
	db	":CalPhysicalProperty",0
_4173:
	db	":CalVector",0
_4174:
	db	":CalVector",0
_4176:
	db	":CalPhysicalProperty",0
_4191:
	db	":CalVector",0
_4192:
	db	":CalVector",0
_4193:
	db	":CalPhysicalProperty",0
	align	4
_6961:
	dd	0x0
	align	4
_6962:
	dd	0x3f800000
	align	4
_6963:
	dd	0x3f800000
_4217:
	db	":CalTangentSpace",0
_4218:
	db	":CalTangentSpace",0
	align	4
_214:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	78,111,116,32,73,109,112,108,101,109,101,110,116,101,100,32
	dw	121,101,116
	align	4
_6977:
	dd	0x0
	align	4
_219:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	32,102,111,114,58,32
	align	4
_218:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	115,101,116,116,105,110,103,32,119,101,105,103,104,116,58,32
	align	4
_6992:
	dd	0x3f800000
_4242:
	db	":CalSubmesh",0
_4244:
	db	":CalSubmesh",0
	align	4
_226:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	73,110,118,97,108,105,100,32,83,117,98,109,101,115,104,32
	dw	73,68
	align	4
_7078:
	dd	0x3f800000
	align	4
_7079:
	dd	0x3f800000
_4386:
	db	":CalBone",0
_4388:
	db	":CalBone",0
_4397:
	db	":CalBone",0
	align	4
_257:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	78,111,116,32,73,109,112,108,101,109,101,110,116,101,100,32
	dw	89,101,116,46,46,46
_4489:
	db	":CalMesh",0
_4492:
	db	":CalMesh",0
	align	4
_279:
	dd	_bbStringClass
	dd	2147483647
	dd	27
	dw	73,110,118,97,108,105,100,32,77,101,115,104,32,73,68,32
	dw	56,61,61,61,68,32,45,111,32,45,111
_4506:
	db	":CalMesh",0
	align	4
_283:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	73,110,118,97,108,105,100,32,77,101,115,104,32,40,95,111
	dw	95,89,95,111,95,41
_4513:
	db	":CalMesh",0
	align	4
_290:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	73,110,118,97,108,105,100,32,77,105,120,101,114
_4552:
	db	":CalVector",0
_4598:
	db	"f",0
_4600:
	db	"f",0
_4639:
	db	"f",0
_4691:
	db	"f",0
_4693:
	db	"f",0
	align	4
_7314:
	dd	0x3f800000
	align	4
_324:
	dd	_bbStringClass
	dd	2147483647
	dd	59
	dw	84,104,105,115,32,105,115,32,116,104,101,32,97,98,115,116
	dw	114,97,99,116,32,109,105,120,101,114,33,32,85,115,101,32
	dw	111,110,101,32,111,102,32,116,104,101,32,101,120,116,101,110
	dw	100,101,100,32,84,121,112,101,101,115,33
_4738:
	db	":CalAnimation",0
_4741:
	db	":CalAnimationAction",0
_4742:
	db	":CalAnimationCycle",0
_4754:
	db	":CalAnimationCycle",0
	align	4
_328:
	dd	_bbStringClass
	dd	2147483647
	dd	24
	dw	78,111,116,32,65,110,105,109,97,116,105,111,110,32,67,121
	dw	99,108,101,32,84,121,112,101
	align	4
_329:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	73,110,118,97,108,105,100,32,65,110,105,109,97,116,105,111
	dw	110,32,84,121,112,101
_4781:
	db	":CalAnimationAction",0
_4796:
	db	":CalAnimationAction",0
_4817:
	db	":CalAnimationAction",0
	align	4
_7378:
	dd	0x0
	align	4
_7379:
	dd	0x0
_4839:
	db	":CalAnimationCycle",0
	align	4
_7394:
	dd	0x0
_4919:
	db	"f",0
_4920:
	db	"f",0
_4921:
	db	"f",0
_4926:
	db	"f",0
_4927:
	db	"f",0
_4928:
	db	"f",0
	align	4
_7449:
	dd	0x0
	align	4
_7457:
	dd	0x3f800000
	align	4
_369:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	77,111,114,112,104,32,119,97,115,32,110,117,108,108
	align	4
_373:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	78,111,32,75,101,121,102,114,97,109,101,115
	align	4
_7475:
	dd	0x0
	align	4
_7483:
	dd	0x0
	align	4
_7517:
	dd	0x0
	align	4
_7518:
	dd	0x0
	align	4
_7519:
	dd	0x0
	align	4
_7537:
	dd	0x0
	align	4
_7538:
	dd	0x0
	align	4
_7539:
	dd	0x0
	align	4
_405:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	32,119,101,105,103,104,116,58,32
	align	4
_404:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	71,101,116,32,98,108,101,110,100,118,101,114,116,58,32
	align	4
_7558:
	dd	0x0
	align	4
_7559:
	dd	0x0
	align	4
_7560:
	dd	0x0
	align	4
_7580:
	dd	0x0
	align	4
_7581:
	dd	0x0
	align	4
_7582:
	dd	0x0
	align	4
_7600:
	dd	0x0
	align	4
_7601:
	dd	0x0
	align	4
_7602:
	dd	0x0
	align	4
_7606:
	dd	0x0
	align	4
_7607:
	dd	0x0
	align	4
_7608:
	dd	0x0
	align	4
_7632:
	dd	0x0
	align	4
_7633:
	dd	0x0
	align	4
_7634:
	dd	0x0
	align	4
_7638:
	dd	0x0
	align	4
_7639:
	dd	0x0
	align	4
_7640:
	dd	0x0
	align	4
_7679:
	dd	0x0
	align	4
_7680:
	dd	0x0
	align	4
_7681:
	dd	0x0
	align	4
_7685:
	dd	0x0
	align	4
_7686:
	dd	0x0
	align	4
_7687:
	dd	0x0
	align	4
_454:
	dd	_bbStringClass
	dd	2147483647
	dd	37
	dw	105,110,116,101,114,110,97,108,32,101,114,114,111,114,58,32
	dw	109,97,112,73,100,32,105,115,32,111,117,116,32,111,102,32
	dw	114,97,110,103,101
	align	4
_455:
	dd	_bbStringClass
	dd	2147483647
	dd	80
	dw	105,110,116,101,114,110,97,108,32,101,114,114,111,114,58,32
	dw	98,117,102,102,101,114,32,105,115,32,110,111,116,32,108,97
	dw	114,103,101,32,101,110,111,117,103,104,32,116,111,32,99,111
	dw	110,116,97,105,110,32,97,108,108,32,116,104,101,32,116,97
	dw	110,103,101,110,116,32,115,112,97,99,101,32,100,97,116,97
	align	4
_7708:
	dd	0x0
	align	4
_7709:
	dd	0x0
	align	4
_7710:
	dd	0x0
_5605:
	db	"f",0
	align	4
_7729:
	dd	0x40000000
	align	4
_7730:
	dd	0x40000000
	align	4
_7731:
	dd	0x40000000
	align	4
_7780:
	dd	0x43400000
	align	4
_7781:
	dd	0x43400000
	align	4
_7782:
	dd	0x43400000
	align	4
_7783:
	dd	0x43400000
	align	4
_489:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	73,110,118,97,108,105,100,32,77,97,112,32,73,68
	align	4
_7811:
	dd	0x42480000
	align	4
_7817:
	dd	0x437f0000
	align	4
_7818:
	dd	0x437f0000
	align	4
_7819:
	dd	0x437f0000
	align	4
_493:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	77,97,112,32,73,68,32,105,115,32,105,110,118,97,108,105
	dw	100
	align	4
_500:
	dd	_bbStringClass
	dd	2147483647
	dd	39
	dw	73,110,118,97,108,105,100,32,77,97,112,32,73,68,32,111
	dw	114,32,84,97,110,103,101,110,116,115,32,78,111,116,32,69
	dw	110,97,98,108,101,100,33
	align	4
_507:
	dd	_bbStringClass
	dd	2147483647
	dd	27
	dw	73,110,118,97,108,105,100,32,84,101,120,116,117,114,101,32
	dw	67,111,111,114,100,32,67,111,117,110,116
	align	4
_7881:
	dd	0x447a0000
	align	4
_7882:
	dd	0x3c23d70a
